summarylogtreecommitdiffstats
path: root/bitcoin-officialSSLfix.patch
blob: 2d10f32983e101f76600e8adb47edcffda9505df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/src/qt/bitcoin.cpp	2018-10-15 18:45:35.610803000 -0700
+++ b/src/qt/bitcoin.cpp	2018-10-17 15:48:20.580036450 -0700
@@ -50,7 +50,6 @@
 #include <QThread>
 #include <QTimer>
 #include <QTranslator>
-#include <QSslConfiguration>

 #if defined(QT_STATICPLUGIN)
 #include <QtPlugin>
@@ -576,13 +575,6 @@
 #ifdef Q_OS_MAC
     QApplication::setAttribute(Qt::AA_DontShowIconsInMenus);
 #endif
-#if QT_VERSION >= 0x050500
-    // Because of the POODLE attack it is recommended to disable SSLv3 (https://disablessl3.com/),
-    // so set SSL protocols to TLS1.0+.
-    QSslConfiguration sslconf = QSslConfiguration::defaultConfiguration();
-    sslconf.setProtocol(QSsl::TlsV1_0OrLater);
-    QSslConfiguration::setDefaultConfiguration(sslconf);
-#endif

     // Register meta types used for QMetaObject::invokeMethod
     qRegisterMetaType< bool* >();