]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: ssl: make libressl use its own version numbers
authorWilly Tarreau <w@1wt.eu>
Thu, 9 May 2019 11:41:45 +0000 (13:41 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 9 May 2019 12:25:47 +0000 (14:25 +0200)
commit1d158ab12dc15ab7afaa00530a5ee31cdb8ba2d8
tree9cdd42a8a35bea3fad88d0f4c691b1e4d3a65a3a
parent9a1ab081607984bf3bfd2a7f8bf411ad0c19cd0f
BUILD: ssl: make libressl use its own version numbers

LibreSSL causes lots of build issues by pretending to be OpenSSL 2.0.0,
and it requires lots of care for each #if added to cover any specific
OpenSSL features.

This commit addresses the problem by making LibreSSL only advertise the
version it forked from (1.0.1g) and by starting to use tests based on
its real version to enable features instead of working by exclusion.
include/proto/openssl-compat.h
src/ssl_sock.c