Skip to content

Commit

Permalink
Merge pull request #552 from MiWCryptoCurrency/master
Browse files Browse the repository at this point in the history
qt: Revert "Force TLS1.0+ for SSL connections"
  • Loading branch information
thrasher- authored Oct 30, 2018
2 parents 69fce74 + 10753d6 commit e2f9d9c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/qt/bitcoin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
#include <QThread>
#include <QTimer>
#include <QTranslator>
#include <QSslConfiguration>

#if defined(QT_STATICPLUGIN)
#include <QtPlugin>
Expand Down Expand Up @@ -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* >();
Expand Down

0 comments on commit e2f9d9c

Please sign in to comment.