diff options
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/TLS/OpenSSL/OpenSSLContextFactory.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Swiften/TLS/OpenSSL/OpenSSLContextFactory.cpp b/Swiften/TLS/OpenSSL/OpenSSLContextFactory.cpp index 6cd3c83..671cba7 100644 --- a/Swiften/TLS/OpenSSL/OpenSSLContextFactory.cpp +++ b/Swiften/TLS/OpenSSL/OpenSSLContextFactory.cpp @@ -18,9 +18,11 @@ TLSContext* OpenSSLContextFactory::createTLSContext() { return new OpenSSLContext(); } -void OpenSSLContextFactory::setCheckCertificateRevocation(bool) { - assert(false); - SWIFT_LOG(warning) << "CRL Checking not supported for OpenSSL" << std::endl; +void OpenSSLContextFactory::setCheckCertificateRevocation(bool check) { + if (check) { + assert(false); + SWIFT_LOG(warning) << "CRL Checking not supported for OpenSSL" << std::endl; + } } |