Unverified Commit 6079ba4e authored by Ge Jun's avatar Ge Jun Committed by GitHub

Merge pull request #312 from brpc/jiangrujie-dev

+ Remove unnecessary loading of openssl.cnf
parents 24f83238 ad9bd980
......@@ -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