diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 1e9226c925..a143576227 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -5696,10 +5696,10 @@ void ExportChallenge(const FunctionCallbackInfo& args) { void InitCryptoOnce() { + OPENSSL_config(NULL); SSL_library_init(); OpenSSL_add_all_algorithms(); SSL_load_error_strings(); - OPENSSL_config(NULL); crypto_lock_init(); CRYPTO_set_locking_callback(crypto_lock_cb);