summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-07-16 22:30:18 +0200
committerattilamolnar <attilamolnar@hush.com>2013-07-16 22:30:18 +0200
commit561f4f642e5bc391300dd33989c3624986808ed8 (patch)
tree65b0dffd2608cfbe117c5326ae043696f7f43af6 /src/modules/extra
parent6e0b904d342461cd2ac2a3cd0cf2a43d864d2b00 (diff)
m_ssl_openssl Fix inverted check that prevented certificates from being recognized as trusted
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp2
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;