diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-11-27 22:43:01 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-11-27 22:43:01 +0200 |
commit | 51e76458367a89433dfb712adde5d19c4a78914e (patch) | |
tree | 0027b7f6b11c5efeca8ca680ee7c148ee6a2b7ef /src/common | |
parent | Merge pull request #2827 (diff) | |
parent | fixed common/util.cpp to link against libressl (diff) | |
download | monero-51e76458367a89433dfb712adde5d19c4a78914e.tar.xz |
Merge pull request #2839
0b08bf39 fixed common/util.cpp to link against libressl (ston1th)
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.cpp | 2 |
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); |