Index: net/socket/ssl_client_socket_openssl.h |
diff --git a/net/socket/ssl_client_socket_openssl.h b/net/socket/ssl_client_socket_openssl.h |
index 5f4800a08de3ee71114e706e43dfae353f0fb23a..c44ecc4bc72341d155305bc81a2f33cc61331a2f 100644 |
--- a/net/socket/ssl_client_socket_openssl.h |
+++ b/net/socket/ssl_client_socket_openssl.h |
@@ -90,7 +90,13 @@ class SSLClientSocketOpenSSL : public SSLClientSocket { |
virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; |
virtual bool SetSendBufferSize(int32 size) OVERRIDE; |
+ protected: |
+ // SSLClientSocket implementation. |
+ virtual const X509Certificate* GetUnverifiedServerCertificateChain() const |
+ OVERRIDE; |
+ |
private: |
+ class PeerCertificateChain; |
class SSLContext; |
friend class SSLClientSocket; |
friend class SSLContext; |
@@ -169,6 +175,7 @@ class SSLClientSocketOpenSSL : public SSLClientSocket { |
int transport_write_error_; |
// Set when handshake finishes. |
+ scoped_ptr<PeerCertificateChain> server_cert_chain_; |
scoped_refptr<X509Certificate> server_cert_; |
CertVerifyResult server_cert_verify_result_; |
bool completed_handshake_; |