diff options
author | Daniel De Graaf <danieldg@inspircd.org> | 2011-06-23 20:31:29 -0400 |
---|---|---|
committer | Daniel De Graaf <danieldg@inspircd.org> | 2011-06-23 20:31:29 -0400 |
commit | 386430c38dfba370369bad51d35a1dedc87eb159 (patch) | |
tree | 06ef36f8479c676ed96274118cafee41e1edd573 /src/modules | |
parent | f235772cf1781ac9e9b50e1c4c91d59666063436 (diff) |
Fix initialization of SSL certificate field on connect
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 1 |
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; |