BUILD/MINOR: ssl: avoid a build warning on LIBRESSL_VERSION with -Wundef
authorWilly Tarreau <w@1wt.eu>
Sat, 28 Aug 2021 10:06:51 +0000 (12:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 28 Aug 2021 10:06:51 +0000 (12:06 +0200)
commit6e5542e9f45bd72ef3975f1dc4d4193a824f5e03
tree9943b396becbe6f588d6a213b7d4ec4012d21862
parent33056436c7a8cdf49fc080ccd3e3e8bd21eea26c
BUILD/MINOR: ssl: avoid a build warning on LIBRESSL_VERSION with -Wundef

Openssl-compat emits a warning for the test on LIBRESSL_VERSION that might
be underfined, if built with -Wundef. The fix is easy, let's do it. Related
to GH issue #1369.
include/haproxy/openssl-compat.h