tests: fix qt payment test
Now that boost no longer automatically initializes openssl, we have to do it ourselves.
This commit is contained in:
parent
3140ef9249
commit
6e996d39da
@ -17,6 +17,8 @@
|
||||
#include <QObject>
|
||||
#include <QTest>
|
||||
|
||||
#include <openssl/ssl.h>
|
||||
|
||||
#if defined(QT_STATICPLUGIN) && QT_VERSION < 0x050000
|
||||
#include <QtPlugin>
|
||||
Q_IMPORT_PLUGIN(qcncodecs)
|
||||
@ -36,6 +38,8 @@ int main(int argc, char *argv[])
|
||||
QCoreApplication app(argc, argv);
|
||||
app.setApplicationName("Bitcoin-Qt-test");
|
||||
|
||||
SSL_library_init();
|
||||
|
||||
URITests test1;
|
||||
if (QTest::qExec(&test1) != 0)
|
||||
fInvalid = true;
|
||||
|
Loading…
Reference in New Issue
Block a user