mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02:00
MINOR: ssl: Remove call to ERR_load_SSL_strings with OpenSSLv3
Starting from OpenSSLv3, error strings are loaded automatically so ERR_load_SSL_strings is not needed anymore and was marked as deprecated.
This commit is contained in:
parent
1effd9aa09
commit
78a36e3344
@ -7786,8 +7786,10 @@ static void __ssl_sock_init(void)
|
||||
#ifndef OPENSSL_NO_ENGINE
|
||||
hap_register_post_deinit(ssl_free_engines);
|
||||
#endif
|
||||
#if HA_OPENSSL_VERSION_NUMBER < 0x3000000fL
|
||||
/* Load SSL string for the verbose & debug mode. */
|
||||
ERR_load_SSL_strings();
|
||||
#endif
|
||||
ha_meth = BIO_meth_new(0x666, "ha methods");
|
||||
BIO_meth_set_write(ha_meth, ha_ssl_write);
|
||||
BIO_meth_set_read(ha_meth, ha_ssl_read);
|
||||
|
Loading…
Reference in New Issue
Block a user