aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.cpp
diff options
context:
space:
mode:
authorston1th <ston1th@giftfish.de>2017-11-18 19:02:09 +0100
committerston1th <ston1th@giftfish.de>2017-11-18 19:02:09 +0100
commit0b08bf39687c5e6bdf2c79c2334382a5f8fa63e5 (patch)
tree7cb95b3f96b4d8f3cf86fce6ff3021be1db799f3 /src/common/util.cpp
parentMerge pull request #2818 (diff)
downloadmonero-0b08bf39687c5e6bdf2c79c2334382a5f8fa63e5.tar.xz
fixed common/util.cpp to link against libressl
Diffstat (limited to 'src/common/util.cpp')
-rw-r--r--src/common/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.cpp b/src/common/util.cpp
index a13ac6e50..e8ac61815 100644
--- a/src/common/util.cpp
+++ b/src/common/util.cpp
@@ -550,7 +550,7 @@ std::string get_nix_version_display_string()
MCLOG_RED(el::Level::Warning, "global", "Running with glibc " << ver << ", hangs may occur - change glibc version if possible");
#endif
-#if OPENSSL_VERSION_NUMBER < 0x10100000
+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_TEXT)
SSL_library_init();
#else
OPENSSL_init_ssl(0, NULL);