Merge pull request #2696

937e7f8a Initialize openssl on startup (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-11-14 15:13:43 +02:00
commit 8df6b010eb
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
10 changed files with 21 additions and 1 deletions

View file

@ -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");