mirror of
https://github.com/monero-project/monero.git
synced 2025-12-22 23:26:44 -08:00
Initialize openssl on startup
This commit is contained in:
@@ -549,6 +549,13 @@ std::string get_nix_version_display_string()
|
||||
if (!strcmp(ver, "2.25"))
|
||||
MCLOG_RED(el::Level::Warning, "global", "Running with glibc " << ver << ", hangs may occur - change glibc version if possible");
|
||||
#endif
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000
|
||||
SSL_library_init();
|
||||
#else
|
||||
OPENSSL_init_ssl(0, NULL);
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
void set_strict_default_file_permissions(bool strict)
|
||||
|
||||
Reference in New Issue
Block a user