X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fextra%2Fm_ssl_openssl.cpp;h=29c3568ef117c93c7289bbefb5aad6298c39e6bc;hb=1031f333332cf1b09db4fd632f141143ee637c34;hp=4cb6ee07b368d9a124b88c4a021bd33b7aa3d42a;hpb=b86fe63a3a368d304632a3dfcba77048315c9241;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index 4cb6ee07b..29c3568ef 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -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;