Commit ad9bd980 authored by old-bear's avatar old-bear

+ Remove unnecessary loading of openssl.cnf

parent 381b734c
......@@ -299,8 +299,7 @@ static void GlobalInitializeOrDieImpl() {
// Initialize openssl library
SSL_library_init();
// Load the openssl.cnf under the default location
OPENSSL_config(NULL);
// RPC doesn't require openssl.cnf, users can load it by themselves if needed
SSL_load_error_strings();
if (SSLThreadInit() != 0 || SSLDHInit() != 0) {
exit(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment