From c7f5c98ee9374cee7cac14df44c91c80261cbd86 Mon Sep 17 00:00:00 2001 From: Yorkie Date: Wed, 22 Jan 2014 20:48:46 +0800 Subject: [PATCH] crypto: remove duplicate ERR_load_crypto_strings() ERR_load_crypto_strings() registers the error strings for all libcrypto functions, SSL_load_error_strings() does the same, but also registers the libssl error strings. --- src/node_crypto.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 20f4137..8f2b96f 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -4139,7 +4139,6 @@ void InitCryptoOnce() { SSL_library_init(); OpenSSL_add_all_algorithms(); SSL_load_error_strings(); - ERR_load_crypto_strings(); crypto_lock_init(); CRYPTO_set_locking_callback(crypto_lock_cb); -- 2.7.4