]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_ssl_openssl.cpp
Merge insp20
[user/henk/code/inspircd.git] / src / modules / extra / m_ssl_openssl.cpp
index 4cb6ee07b368d9a124b88c4a021bd33b7aa3d42a..29c3568ef117c93c7289bbefb5aad6298c39e6bc 100644 (file)
@@ -184,7 +184,7 @@ class OpenSSLIOHook : public SSLIOHook
 
                certinfo->invalid = (SSL_get_verify_result(session->sess) != X509_V_OK);
 
-               if (SelfSigned)
+               if (!SelfSigned)
                {
                        certinfo->unknownsigner = false;
                        certinfo->trusted = true;