mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-28 15:54:27 +00:00
qt: Revert "Force TLS1.0+ for SSL connections"
fix for upstream bitcoin qt5 openssl issue: https://github.com/bitcoin/bitcoin/pull/14403
This commit is contained in:
parent
69fce74411
commit
10753d669d
@ -50,7 +50,6 @@
|
|||||||
#include <QThread>
|
#include <QThread>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QTranslator>
|
#include <QTranslator>
|
||||||
#include <QSslConfiguration>
|
|
||||||
|
|
||||||
#if defined(QT_STATICPLUGIN)
|
#if defined(QT_STATICPLUGIN)
|
||||||
#include <QtPlugin>
|
#include <QtPlugin>
|
||||||
@ -573,13 +572,6 @@ int main(int argc, char *argv[])
|
|||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus);
|
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus);
|
||||||
#endif
|
#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
|
// Register meta types used for QMetaObject::invokeMethod
|
||||||
qRegisterMetaType< bool* >();
|
qRegisterMetaType< bool* >();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user