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

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

Issue 576233002: Only use the platform cert in verification in SSLClientSocketOpenSSL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: don't export two versions Created 6 years, 3 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
« no previous file with comments | « net/cert/x509_util_openssl.cc ('k') | net/socket/ssl_client_socket_openssl.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_OPENSSL_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 void OnHandshakeCompletion(); 116 void OnHandshakeCompletion();
117 117
118 bool DoTransportIO(); 118 bool DoTransportIO();
119 int DoHandshake(); 119 int DoHandshake();
120 int DoChannelIDLookup(); 120 int DoChannelIDLookup();
121 int DoChannelIDLookupComplete(int result); 121 int DoChannelIDLookupComplete(int result);
122 int DoVerifyCert(int result); 122 int DoVerifyCert(int result);
123 int DoVerifyCertComplete(int result); 123 int DoVerifyCertComplete(int result);
124 void DoConnectCallback(int result); 124 void DoConnectCallback(int result);
125 X509Certificate* UpdateServerCert(); 125 void UpdateServerCert();
126 void VerifyCT(); 126 void VerifyCT();
127 127
128 void OnHandshakeIOComplete(int result); 128 void OnHandshakeIOComplete(int result);
129 void OnSendComplete(int result); 129 void OnSendComplete(int result);
130 void OnRecvComplete(int result); 130 void OnRecvComplete(int result);
131 131
132 int DoHandshakeLoop(int last_io_result); 132 int DoHandshakeLoop(int last_io_result);
133 int DoReadLoop(int result); 133 int DoReadLoop(int result);
134 int DoWriteLoop(int result); 134 int DoWriteLoop(int result);
135 int DoPayloadRead(); 135 int DoPayloadRead();
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // pinning failure. It is a (somewhat) human-readable string. 301 // pinning failure. It is a (somewhat) human-readable string.
302 std::string pinning_failure_log_; 302 std::string pinning_failure_log_;
303 303
304 BoundNetLog net_log_; 304 BoundNetLog net_log_;
305 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; 305 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_;
306 }; 306 };
307 307
308 } // namespace net 308 } // namespace net
309 309
310 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 310 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
OLDNEW
« no previous file with comments | « net/cert/x509_util_openssl.cc ('k') | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698