diff --git a/src/kits/network/libnetapi/SecureSocket.cpp b/src/kits/network/libnetapi/SecureSocket.cpp index 99136c742b..4e55e665fb 100644 --- a/src/kits/network/libnetapi/SecureSocket.cpp +++ b/src/kits/network/libnetapi/SecureSocket.cpp @@ -532,10 +532,7 @@ BSecureSocket::InitCheck() bool BSecureSocket::CertificateVerificationFailed(BCertificate&, const char*) { - // Until apps actually make use of the certificate API, let's keep the old - // behavior and accept all connections, even if the certificate validation - // didn't work. - return true; + return false; }