Index: net/socket/ssl_client_socket_mac.h |
=================================================================== |
--- net/socket/ssl_client_socket_mac.h (revision 69359) |
+++ net/socket/ssl_client_socket_mac.h (working copy) |
@@ -23,6 +23,7 @@ |
class CertVerifier; |
class ClientSocketHandle; |
+class SingleRequestCertVerifier; |
// An SSL client socket implemented with Secure Transport. |
class SSLClientSocketMac : public SSLClientSocket { |
@@ -35,7 +36,8 @@ |
// the SSL settings. |
SSLClientSocketMac(ClientSocketHandle* transport_socket, |
const HostPortPair& host_and_port, |
- const SSLConfig& ssl_config); |
+ const SSLConfig& ssl_config, |
+ CertVerifier* cert_verifier); |
~SSLClientSocketMac(); |
// SSLClientSocket methods: |
@@ -137,7 +139,8 @@ |
State next_handshake_state_; |
scoped_refptr<X509Certificate> server_cert_; |
- scoped_ptr<CertVerifier> verifier_; |
+ CertVerifier* const cert_verifier_; |
+ scoped_ptr<SingleRequestCertVerifier> verifier_; |
CertVerifyResult server_cert_verify_result_; |
// The initial handshake has already completed, and the current handshake |