mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 15:39:05 +01:00
test: only include and init openSSL where it's actually used
This commit is contained in:
@@ -26,8 +26,6 @@
|
||||
#include <QObject>
|
||||
#include <QTest>
|
||||
|
||||
#include <openssl/ssl.h>
|
||||
|
||||
#if defined(QT_STATICPLUGIN)
|
||||
#include <QtPlugin>
|
||||
#if defined(QT_QPA_PLATFORM_MINIMAL)
|
||||
@@ -73,8 +71,6 @@ int main(int argc, char *argv[])
|
||||
BitcoinApplication app(*node, argc, argv);
|
||||
app.setApplicationName("Bitcoin-Qt-test");
|
||||
|
||||
SSL_library_init();
|
||||
|
||||
AppTests app_tests(app);
|
||||
if (QTest::qExec(&app_tests) != 0) {
|
||||
fInvalid = true;
|
||||
|
||||
Reference in New Issue
Block a user