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>
Thu, 30 Dec 2021 09:45:45 +0000 (10:45 +0100)
commitca0b6e08dcc3686794d37e8bfcc4e4a4b2adb806
tree3fe60355d76e18ce66f668a519ff7f7cdfe593a8
parenta04ccb116df4f54564990638076840d61e31507e
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>
include/haproxy/openssl-compat.h