diff options
| author | fanquake <[email protected]> | 2019-08-06 16:50:42 +0800 |
|---|---|---|
| committer | fanquake <[email protected]> | 2019-08-06 16:50:42 +0800 |
| commit | 2f37163caf244acbe5fc715f2321aebc231522bc (patch) | |
| tree | b6c0c5c5f213ab7dbf20ec14db70306418480abc /src/qt/test/paymentservertests.cpp | |
| parent | Merge #16530: doc: Fix grammar and punctuation in developer notes (diff) | |
| download | discoin-2f37163caf244acbe5fc715f2321aebc231522bc.tar.xz discoin-2f37163caf244acbe5fc715f2321aebc231522bc.zip | |
test: only include and init openSSL where it's actually used
Diffstat (limited to 'src/qt/test/paymentservertests.cpp')
| -rw-r--r-- | src/qt/test/paymentservertests.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/test/paymentservertests.cpp b/src/qt/test/paymentservertests.cpp index 6cafe0546..eca468a6a 100644 --- a/src/qt/test/paymentservertests.cpp +++ b/src/qt/test/paymentservertests.cpp @@ -16,6 +16,7 @@ #include <test/setup_common.h> #include <util/strencodings.h> +#include <openssl/ssl.h> #include <openssl/x509.h> #include <openssl/x509_vfy.h> @@ -66,6 +67,7 @@ static SendCoinsRecipient handleRequest(PaymentServer* server, std::vector<unsig void PaymentServerTests::paymentServerTests() { + SSL_library_init(); BasicTestingSetup testing_setup(CBaseChainParams::MAIN); auto node = interfaces::MakeNode(); OptionsModel optionsModel(*node); |