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:
parent
6514a4128c
commit
c7f5c98ee9
@ -4139,7 +4139,6 @@ void InitCryptoOnce() {
|
|||||||
SSL_library_init();
|
SSL_library_init();
|
||||||
OpenSSL_add_all_algorithms();
|
OpenSSL_add_all_algorithms();
|
||||||
SSL_load_error_strings();
|
SSL_load_error_strings();
|
||||||
ERR_load_crypto_strings();
|
|
||||||
|
|
||||||
crypto_lock_init();
|
crypto_lock_init();
|
||||||
CRYPTO_set_locking_callback(crypto_lock_cb);
|
CRYPTO_set_locking_callback(crypto_lock_cb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user