summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ssl_openssl.cpp
diff options
context:
space:
mode:
authorDaniel De Graaf <danieldg@inspircd.org>2011-06-23 20:31:29 -0400
committerDaniel De Graaf <danieldg@inspircd.org>2011-06-23 20:31:29 -0400
commit386430c38dfba370369bad51d35a1dedc87eb159 (patch)
tree06ef36f8479c676ed96274118cafee41e1edd573 /src/modules/extra/m_ssl_openssl.cpp
parentf235772cf1781ac9e9b50e1c4c91d59666063436 (diff)
Fix initialization of SSL certificate field on connect
Diffstat (limited to 'src/modules/extra/m_ssl_openssl.cpp')
-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 7cae1a344..f203d215b 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -299,6 +299,7 @@ class ModuleSSLOpenSSL : public Module
session->sess = SSL_new(ctx);
session->status = ISSL_NONE;
session->outbound = false;
+ session->cert = NULL;
if (session->sess == NULL)
return;