From 82701235ee9bbeb01a1295b4fc6d3d6b7d04fd6d Mon Sep 17 00:00:00 2001 From: nowrep Date: Fri, 7 Jun 2013 11:47:36 +0200 Subject: [PATCH] Don't force older SSLv3 protocol for secured connections. Closes #921 --- src/lib/network/networkmanager.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/lib/network/networkmanager.cpp b/src/lib/network/networkmanager.cpp index 434e465c7..bae94f21d 100644 --- a/src/lib/network/networkmanager.cpp +++ b/src/lib/network/networkmanager.cpp @@ -108,9 +108,14 @@ void NetworkManager::loadSettings() // Falling back to Qt 4.7 default behavior, use SslV3 by default // Fixes issue with some older servers closing the connection - QSslConfiguration config = QSslConfiguration::defaultConfiguration(); - config.setProtocol(QSsl::SslV3); - QSslConfiguration::setDefaultConfiguration(config); + + // However, it also makes some servers requesting TLS ClientHello + // not working, or showing invalid certificates. + // See #921 + + // QSslConfiguration config = QSslConfiguration::defaultConfiguration(); + // config.setProtocol(QSsl::SslV3); + // QSslConfiguration::setDefaultConfiguration(config); #if defined(Q_OS_WIN) || defined(Q_OS_HAIKU) || defined(Q_OS_OS2) QString certDir = mApp->PROFILEDIR + "certificates";