diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-29 13:20:53 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-29 13:20:53 +0000 |
commit | 6c73061a3d5636a1c5287bbe2cc9651313fd740b (patch) | |
tree | ccce6241137c112b455b5d7276a68c0c66f71b1f /src/modules | |
parent | 7075c32b41f39783f2bcbeaaf544f5e8e0bd430e (diff) |
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
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |