From 561f4f642e5bc391300dd33989c3624986808ed8 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Tue, 16 Jul 2013 22:30:18 +0200 Subject: m_ssl_openssl Fix inverted check that prevented certificates from being recognized as trusted --- src/modules/extra/m_ssl_openssl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3