Re: [PATCH v2] BUILD: SSL: function "ERR_func_error_string" is deprecated in OpenSSL-3.0.0

2021-10-19 Thread Илья Шипицин
similar patchset https://patchwork.openvpn.net/project/openvpn2/list/?series=1309 Willy, please forward to SSL support team чт, 7 окт. 2021 г. в 14:08, Илья Шипицин : > > > чт, 7 окт. 2021 г. в 12:49, Willy Tarreau : > >> On Thu, Oct 07, 2021 at 11:30:54AM +0500, ??? wrote: >> > >

Re: [PATCH v2] BUILD: SSL: function "ERR_func_error_string" is deprecated in OpenSSL-3.0.0

2021-10-07 Thread Илья Шипицин
чт, 7 окт. 2021 г. в 12:49, Willy Tarreau : > On Thu, Oct 07, 2021 at 11:30:54AM +0500, ??? wrote: > > > Just thinking about something, given that the new API was already > adopted > > > by BoringSSL and will probably be at some point in time by LibreSSL, > would > > > it not be better

Re: [PATCH v2] BUILD: SSL: function "ERR_func_error_string" is deprecated in OpenSSL-3.0.0

2021-10-07 Thread Willy Tarreau
On Thu, Oct 07, 2021 at 11:30:54AM +0500, ??? wrote: > > Just thinking about something, given that the new API was already adopted > > by BoringSSL and will probably be at some point in time by LibreSSL, would > > it not be better to have a single macro "HA_SSL_USE_API_V3" or something >

Re: [PATCH v2] BUILD: SSL: function "ERR_func_error_string" is deprecated in OpenSSL-3.0.0

2021-10-07 Thread Илья Шипицин
чт, 7 окт. 2021 г. в 10:58, Willy Tarreau : > Hi Ilya, > > On Wed, Oct 06, 2021 at 11:26:13PM +0500, Ilya Shipitsin wrote: > > +/* ERR_func_error_string is deprecated in OpenSSL-3.0.0 */ > > +#if (OPENSSL_VERSION_NUMBER >= 0x3000L) > > +#define HA_ERR_func_error_string(ret) "OPENSSL_internal"

Re: [PATCH v2] BUILD: SSL: function "ERR_func_error_string" is deprecated in OpenSSL-3.0.0

2021-10-06 Thread Willy Tarreau
Hi Ilya, On Wed, Oct 06, 2021 at 11:26:13PM +0500, Ilya Shipitsin wrote: > +/* ERR_func_error_string is deprecated in OpenSSL-3.0.0 */ > +#if (OPENSSL_VERSION_NUMBER >= 0x3000L) > +#define HA_ERR_func_error_string(ret) "OPENSSL_internal" > +#else > +#define HA_ERR_func_error_string(ret)

[PATCH v2] BUILD: SSL: function "ERR_func_error_string" is deprecated in OpenSSL-3.0.0

2021-10-06 Thread Ilya Shipitsin
let us prepare for using OpenSSL-3.0.0 in no deprecation mode --- include/haproxy/openssl-compat.h | 7 +++ src/ssl_sock.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/include/haproxy/openssl-compat.h b/include/haproxy/openssl-compat.h index