From c30f85f6e2ac109cfa6e1d0820c845fd113d277c Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 18 Aug 2008 22:56:56 +0000 Subject: Apply to clictx too git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10164 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_openssl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index 3f564bc1f..d33021e68 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -153,6 +153,7 @@ class ModuleSSLOpenSSL : public Module clictx = SSL_CTX_new( SSLv23_client_method() ); SSL_CTX_set_mode(ctx, SSL_MODE_ENABLE_PARTIAL_WRITE | SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER); + SSL_CTX_set_mode(clictx, SSL_MODE_ENABLE_PARTIAL_WRITE | SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER); SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER | SSL_VERIFY_CLIENT_ONCE, OnVerify); SSL_CTX_set_verify(clictx, SSL_VERIFY_PEER | SSL_VERIFY_CLIENT_ONCE, OnVerify); -- cgit v1.2.3