]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: makefile: silence unbearable OpenSSL deprecation warnings
authorWilly Tarreau <w@1wt.eu>
Mon, 11 Apr 2022 14:31:31 +0000 (16:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 11 Apr 2022 17:31:47 +0000 (19:31 +0200)
commit6ea6ed74188f2438707536548aaf8a35a96b484c
tree7c051edd73e67ed65a256167ba658716364755fd
parentc24ac4339c7db15e148ce73d43bfd17676b5a418
BUILD: makefile: silence unbearable OpenSSL deprecation warnings

OpenSSL 3.0 emits tons of deprecation warnings for the engine API, and
it becomes a real problem because these hide other real warnings and
will prevent distros from building with -Werror. Fortunately there's a
macro to shut this one, OPENSSL_SUPPRESS_DEPRECATED, that is sufficient
to get things back to normal, so let's define it when USE_ENGINE is set.
This way we still get a chance to see other deprecation warnings when
engines are not used.
Makefile