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.
This commit is contained in:
Yorkie 2014-01-22 20:48:46 +08:00 committed by Fedor Indutny
parent 6514a4128c
commit c7f5c98ee9

View File

@ -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);