BUILD: ssl: unbreak the build with newer libressl
authorDaniel Jakots <haproxy@chown.me>
Wed, 8 Dec 2021 01:34:39 +0000 (20:34 -0500)
committerWilly Tarreau <w@1wt.eu>
Mon, 10 Jan 2022 07:36:52 +0000 (08:36 +0100)
commite193fbc075ae244244c3b8e90ea8bfb91c8c3387
tree0713618cd0490f71ebd7c78f17ea9307bb1bc84f
parentac5b14be149ca9f6d8602bf4968aaf4bd351d54f
BUILD: ssl: unbreak the build with newer libressl

In LibreSSL 3.5.0, BIO is going to become opaque, so haproxy's
compat macros will no longer work. The functions they substitute
have been available since LibreSSL 2.7.0.

(cherry picked from commit d1a2e2b0d1da0dff726738343fbaed044fb93470)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit ca0b6e08dcc3686794d37e8bfcc4e4a4b2adb806)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit f9c40ed93330c9add953310b7ac04a0d4f43ec5c)
Signed-off-by: Willy Tarreau <w@1wt.eu>
include/haproxy/openssl-compat.h