diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-10-21 10:09:51 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-10-21 10:17:18 +0100 |
commit | 937e7f8aa6bda1280abdea493583f4f959ee18e8 (patch) | |
tree | 5d88a15ed55bec94d672a6c5edca52053965ba0b /tests/libwallet_api_tests/main.cpp | |
parent | Merge pull request #2601 (diff) | |
download | monero-937e7f8aa6bda1280abdea493583f4f959ee18e8.tar.xz |
Initialize openssl on startup
Diffstat (limited to 'tests/libwallet_api_tests/main.cpp')
-rw-r--r-- | tests/libwallet_api_tests/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libwallet_api_tests/main.cpp b/tests/libwallet_api_tests/main.cpp index a3cf227de..a96c1cf58 100644 --- a/tests/libwallet_api_tests/main.cpp +++ b/tests/libwallet_api_tests/main.cpp @@ -33,6 +33,7 @@ #include "wallet/wallet2_api.h" #include "wallet/wallet2.h" #include "include_base_utils.h" +#include "common/util.h" #include <boost/chrono/chrono.hpp> #include <boost/filesystem.hpp> @@ -1138,6 +1139,7 @@ TEST_F(WalletManagerMainnetTest, RecoverAndRefreshWalletMainNetAsync) int main(int argc, char** argv) { + tools::on_startup(); // we can override default values for "TESTNET_DAEMON_ADDRESS" and "WALLETS_ROOT_DIR" const char * testnet_daemon_addr = std::getenv("TESTNET_DAEMON_ADDRESS"); |