Browse Source

Merge pull request #552 from MiWCryptoCurrency/master

qt: Revert "Force TLS1.0+ for SSL connections"
cn
Adrian Gallagher 6 years ago committed by GitHub
parent
commit
e2f9d9c5c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/qt/bitcoin.cpp

8
src/qt/bitcoin.cpp

@ -50,7 +50,6 @@ @@ -50,7 +50,6 @@
#include <QThread>
#include <QTimer>
#include <QTranslator>
#include <QSslConfiguration>
#if defined(QT_STATICPLUGIN)
#include <QtPlugin>
@ -573,13 +572,6 @@ int main(int argc, char *argv[]) @@ -573,13 +572,6 @@ int main(int argc, char *argv[])
#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* >();

Loading…
Cancel
Save