diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-07-07 15:07:10 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-07-07 15:07:10 +0200 |
commit | a120b22f5e23a13b6d4f04f01ad9f7bdae435202 (patch) | |
tree | efc0ec8088cfd3a08397872138d80eb5da1629e4 /src/modules | |
parent | 6447b7be822439cce2f8109ea5362edeec4c6255 (diff) |
m_ssl_openssl Remove NULL check of the session in OpenSSLIOHook constructor
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index 6d3eef393..fc7212999 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -544,8 +544,6 @@ class OpenSSLIOHook : public SSLIOHook , data_to_write(false) , profile(sslprofile) { - if (sess == NULL) - return; if (SSL_set_fd(sess, sock->GetFd()) == 0) throw ModuleException("Can't set fd with SSL_set_fd: " + ConvToStr(sock->GetFd())); |