aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-10-21 10:09:51 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-10-21 10:17:18 +0100
commit937e7f8aa6bda1280abdea493583f4f959ee18e8 (patch)
tree5d88a15ed55bec94d672a6c5edca52053965ba0b /tests/unit_tests
parentMerge pull request #2601 (diff)
downloadmonero-937e7f8aa6bda1280abdea493583f4f959ee18e8.tar.xz
Initialize openssl on startup
Diffstat (limited to 'tests/unit_tests')
-rw-r--r--tests/unit_tests/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit_tests/main.cpp b/tests/unit_tests/main.cpp
index 1706c43c9..a6d398883 100644
--- a/tests/unit_tests/main.cpp
+++ b/tests/unit_tests/main.cpp
@@ -35,6 +35,7 @@
#include "include_base_utils.h"
#include "common/command_line.h"
+#include "common/util.h"
#include "unit_tests_utils.h"
namespace po = boost::program_options;
@@ -43,6 +44,7 @@ boost::filesystem::path unit_test::data_dir;
int main(int argc, char** argv)
{
+ tools::on_startup();
epee::string_tools::set_module_name_and_folder(argv[0]);
mlog_configure(mlog_get_default_log_path("unit_tests.log"), true);
epee::debug::get_set_enable_assert(true, false);