summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_client_socket_openssl.h
diff options
context:
space:
mode:
authorjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 15:53:52 +0000
committerjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 15:53:52 +0000
commit2907525c5676868aa09104f84575ea27fca156cf (patch)
tree1fb7b6089f771c6913daf6d6f5438c7f9080e65d /net/socket/ssl_client_socket_openssl.h
parent2b0b0a4d90385d735d182352ab12de76ff4ca94f (diff)
downloadchromium_src-2907525c5676868aa09104f84575ea27fca156cf.zip
chromium_src-2907525c5676868aa09104f84575ea27fca156cf.tar.gz
chromium_src-2907525c5676868aa09104f84575ea27fca156cf.tar.bz2
Connect up OpenSSL socket to use the OpenSSL X509Certificate.
Also adds SSL_CTX to the OpenSSLInitSingleton to make initialization thread-safe. Note this depends on http://codereview.chromium.org/3529008 BUG=None TEST=build with use_openssl=1, open some https pages Review URL: http://codereview.chromium.org/3591015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61963 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/ssl_client_socket_openssl.h')
-rw-r--r--net/socket/ssl_client_socket_openssl.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/socket/ssl_client_socket_openssl.h b/net/socket/ssl_client_socket_openssl.h
index ce450aef..20f321e 100644
--- a/net/socket/ssl_client_socket_openssl.h
+++ b/net/socket/ssl_client_socket_openssl.h
@@ -16,7 +16,6 @@
typedef struct bio_st BIO;
typedef struct ssl_st SSL;
-typedef struct x509_store_ctx_st X509_STORE_CTX;
namespace net {
@@ -37,9 +36,6 @@ class SSLClientSocketOpenSSL : public SSLClientSocket {
const SSLConfig& ssl_config);
~SSLClientSocketOpenSSL();
- // Called back from OpenSSL during cert verification (see SSL_CTX_set_verify).
- int SSLVerifyCallback(int preverify_ok, SSL* ssl, X509_STORE_CTX* ctx);
-
// SSLClientSocket methods:
virtual void GetSSLInfo(SSLInfo* ssl_info);
virtual void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info);
@@ -63,7 +59,6 @@ class SSLClientSocketOpenSSL : public SSLClientSocket {
virtual bool SetSendBufferSize(int32 size);
private:
- bool InitOpenSSL();
bool Init();
void DoReadCallback(int result);
void DoWriteCallback(int result);