From 6c73061a3d5636a1c5287bbe2cc9651313fd740b Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 29 Jan 2006 13:20:53 +0000 Subject: Tidied up intending, oh no, really serious fatal bug right there :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2967 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_openssl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules') diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index 11e81806a..652204ccd 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -86,8 +86,8 @@ class ModuleSSLOpenSSL : public Module inbufsize = SrvConf->NetBufferSize; /* Global SSL library initialization*/ - SSL_library_init(); - SSL_load_error_strings(); + SSL_library_init(); + SSL_load_error_strings(); /* Build our SSL context*/ ctx = SSL_CTX_new( SSLv23_server_method() ); @@ -567,7 +567,7 @@ class ModuleSSLOpenSSL : public Module { int ret = SSL_accept(session->sess); - if(ret < 0) + if(ret < 0) { int err = SSL_get_error(session->sess, ret); -- cgit v1.2.3