Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: net/socket/ssl_client_socket_nss.h

Issue 2322008: Use SSLClientSocketNSS on Mac OS X. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Add build/linux/system.gyp to the CL. Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
7 7
8 #include <certt.h> 8 #include <certt.h>
9 #include <keyt.h> 9 #include <keyt.h>
10 #include <nspr.h> 10 #include <nspr.h>
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 158
159 // The NSS SSL state machine 159 // The NSS SSL state machine
160 PRFileDesc* nss_fd_; 160 PRFileDesc* nss_fd_;
161 161
162 // Buffers for the network end of the SSL state machine 162 // Buffers for the network end of the SSL state machine
163 memio_Private* nss_bufs_; 163 memio_Private* nss_bufs_;
164 164
165 BoundNetLog net_log_; 165 BoundNetLog net_log_;
166 166
167 #if defined(OS_WIN) 167 #if defined(OS_WIN)
168 // A CryptoAPI in-memory certificate store. We use it for two purposes: 168 // A CryptoAPI in-memory certificate store. We use it for one purpose:
169 // 1. Import server certificates into this store so that we can verify and 169 // 1. Copy client certificates from the "MY" system certificate store into
170 // display the certificates using CryptoAPI.
171 // 2. Copy client certificates from the "MY" system certificate store into
172 // this store so that we can close the system store when we finish 170 // this store so that we can close the system store when we finish
173 // searching for client certificates. 171 // searching for client certificates.
174 static HCERTSTORE cert_store_; 172 static HCERTSTORE cert_store_;
175 #endif 173 #endif
176 }; 174 };
177 175
178 } // namespace net 176 } // namespace net
179 177
180 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 178 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
OLDNEW
« build/all.gyp ('K') | « net/net.gyp ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698