fixed common/util.cpp to link against libressl

This commit is contained in:
ston1th 2017-11-18 19:02:09 +01:00
parent dc6a8014bd
commit 0b08bf3968

View file

@ -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"); MCLOG_RED(el::Level::Warning, "global", "Running with glibc " << ver << ", hangs may occur - change glibc version if possible");
#endif #endif
#if OPENSSL_VERSION_NUMBER < 0x10100000 #if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_TEXT)
SSL_library_init(); SSL_library_init();
#else #else
OPENSSL_init_ssl(0, NULL); OPENSSL_init_ssl(0, NULL);