From 02b22acde08e250095f547dcd34d5842bb0c1570 Mon Sep 17 00:00:00 2001 From: nowrep Date: Sat, 23 Mar 2013 13:46:04 +0100 Subject: [PATCH] [Windows] Don't set PeerVerifyNone SSL socket verifyMode anymore. --- src/lib/network/networkmanager.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/lib/network/networkmanager.cpp b/src/lib/network/networkmanager.cpp index 13f10f7e2..de5f02c0b 100644 --- a/src/lib/network/networkmanager.cpp +++ b/src/lib/network/networkmanager.cpp @@ -107,14 +107,6 @@ void NetworkManager::loadSettings() QSslConfiguration::setDefaultConfiguration(config); #if defined(Q_OS_WIN) || defined(Q_OS_HAIKU) || defined(Q_OS_OS2) - // From doc: - // QSslSocket::VerifyNone ... The connection will still be encrypted, and your socket - // will still send its local certificate to the peer if it's requested. - - config = QSslConfiguration::defaultConfiguration(); - config.setPeerVerifyMode(QSslSocket::VerifyNone); - QSslConfiguration::setDefaultConfiguration(config); - QString certDir = mApp->PROFILEDIR + "certificates"; QString bundlePath = certDir + "/ca-bundle.crt"; QString bundleVersionPath = certDir + "/bundle_version";