diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2015-01-20 13:35:13 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-09-02 18:38:41 +0200 |
commit | 6e996d39da60006c47ea34e183164cbb4acd8af8 (patch) | |
tree | 802baca02102afbda69cd31159fd20fd4a63bc4d /src/qt/test/test_main.cpp | |
parent | 3140ef92493169f1f993312b4add1fb87943c7b4 (diff) |
tests: fix qt payment test
Now that boost no longer automatically initializes openssl, we have to
do it ourselves.
Diffstat (limited to 'src/qt/test/test_main.cpp')
-rw-r--r-- | src/qt/test/test_main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/test/test_main.cpp b/src/qt/test/test_main.cpp index bb768f1325..f91de2008c 100644 --- a/src/qt/test/test_main.cpp +++ b/src/qt/test/test_main.cpp @@ -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; |