summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-18 22:56:56 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-18 22:56:56 +0000
commitc30f85f6e2ac109cfa6e1d0820c845fd113d277c (patch)
tree43ec42bdd6492bddd7484551f0fe17a603712305 /src
parent25ef8cc436061a6a9676cd40f3bbf76731fa297f (diff)
Apply to clictx too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10164 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp1
1 files changed, 1 insertions, 0 deletions
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);