]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD/MEDIUM: Fixing the build using LibreSSL
authorLuca Pizzamiglio <luca.pizzamiglio@gmail.com>
Mon, 12 Dec 2016 09:56:56 +0000 (10:56 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 12 Dec 2016 21:57:04 +0000 (22:57 +0100)
commit578b169dcb653feb74d827238b879217b7220b89
treeeb2d8f76de2cb16a190662d00cfdc60b576cc346
parenta73e59b6901a164d19b1145e8511602d9814f28f
BUILD/MEDIUM: Fixing the build using LibreSSL

Fixing the build using LibreSSL as OpenSSL implementation.
Currently, LibreSSL 2.4.4 provides the same API of OpenSSL 1.0.1x,
but it redefine the OpenSSL version number as 2.0.x, breaking all
checks with OpenSSL 1.1.x.
The patch solves the issue checking the definition of the symbol
LIBRESSL_VERSION_NUMBER when Openssl 1.1.x features are requested.
include/proto/openssl-compat.h
src/ssl_sock.c