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

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

Issue 795006: When using SSLClientSocketNSS on Windows, fall back on SSLClientSocketWin... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Log an error message if we can't open the MY system certificate store. Created 10 years, 9 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
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 150
151 // The NSS SSL state machine 151 // The NSS SSL state machine
152 PRFileDesc* nss_fd_; 152 PRFileDesc* nss_fd_;
153 153
154 // Buffers for the network end of the SSL state machine 154 // Buffers for the network end of the SSL state machine
155 memio_Private* nss_bufs_; 155 memio_Private* nss_bufs_;
156 156
157 scoped_refptr<LoadLog> load_log_; 157 scoped_refptr<LoadLog> load_log_;
158 158
159 #if defined(OS_WIN) 159 #if defined(OS_WIN)
160 // A CryptoAPI in-memory certificate store that we import server 160 // A CryptoAPI in-memory certificate store. We use it for two purposes:
161 // certificates into so that we can verify and display the certificates 161 // 1. Import server certificates into this store so that we can verify and
162 // using CryptoAPI. 162 // display the certificates using CryptoAPI.
163 // 2. Copy client certificates from the "MY" system certificate store into
164 // this store so that we can close the system store when we finish
165 // searching for client certificates.
163 static HCERTSTORE cert_store_; 166 static HCERTSTORE cert_store_;
164 #endif 167 #endif
165 }; 168 };
166 169
167 } // namespace net 170 } // namespace net
168 171
169 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 172 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
OLDNEW
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698