From 6e996d39da60006c47ea34e183164cbb4acd8af8 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Tue, 20 Jan 2015 13:35:13 +0100 Subject: tests: fix qt payment test Now that boost no longer automatically initializes openssl, we have to do it ourselves. --- src/qt/test/test_main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/qt/test/test_main.cpp') 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 #include +#include + #if defined(QT_STATICPLUGIN) && QT_VERSION < 0x050000 #include 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; -- cgit v1.2.3