From 386430c38dfba370369bad51d35a1dedc87eb159 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Thu, 23 Jun 2011 20:31:29 -0400 Subject: Fix initialization of SSL certificate field on connect --- src/modules/extra/m_ssl_openssl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules') 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; -- cgit v1.2.3