]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: SSL_load_error_strings might not be defined
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Thu, 15 Sep 2022 14:22:57 +0000 (16:22 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 16 Nov 2022 10:09:33 +0000 (11:09 +0100)
commite608b0eb1699be68e8c9fe95fec037eeeecedb4a
tree8e58e71c66632ab6a17c9a5e1ecefd1b910f707a
parent52fd8a1b7b8a5a328cb5f4fabd42d2ca7af78760
BUG/MINOR: ssl: SSL_load_error_strings might not be defined

The SSL_load_error_strings function was marked as deprecated in OpenSSL
1.1.0 so compiling HAProxy with OPENSSL_NO_DEPRECATED set and a recent
OpenSSL library would fail.
The manpages say that this function was replaced by OPENSSL_init_crypto
and OPENSSL_init_ssl which are already called at start up by the SSL
lib. We do not seem to be in a case where explicit call of those
functions is required.

This patch fixes GitHub issue #1813.
It can be backported to 2.6.
src/haproxy.c