diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-07-16 22:30:18 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-07-16 22:30:18 +0200 |
commit | 561f4f642e5bc391300dd33989c3624986808ed8 (patch) | |
tree | 65b0dffd2608cfbe117c5326ae043696f7f43af6 /src | |
parent | 6e0b904d342461cd2ac2a3cd0cf2a43d864d2b00 (diff) |
m_ssl_openssl Fix inverted check that prevented certificates from being recognized as trusted
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index b63fcd376..7b7de023c 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -615,7 +615,7 @@ class ModuleSSLOpenSSL : public Module certinfo->invalid = (SSL_get_verify_result(session->sess) != X509_V_OK); - if (SelfSigned) + if (!SelfSigned) { certinfo->unknownsigner = false; certinfo->trusted = true; |