]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: openssl-compat: fix build failure with OPENSSL=0 and KTLS=1
authorWilly Tarreau <w@1wt.eu>
Fri, 24 Oct 2025 08:42:06 +0000 (10:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 24 Oct 2025 08:45:02 +0000 (10:45 +0200)
commit2ec6df59bf9bb8f90539114e493f62625f463b8d
tree2e0b8c54a4d1a9808474c2f43bee3fa950a4ed68
parent1824079fca90c12f258009ed9374d22d12200279
BUILD: openssl-compat: fix build failure with OPENSSL=0 and KTLS=1

The USE_KTLS test is currently being done outside of the USE_OPENSSL
guard so disabling USE_OPENSSL still results in build failures on
libcs built with support for kernels before 4.17, because we enable
KTLS by default on linux. Let's move the KTLS block inside the
USE_OPENSSL guard instead.

No backport is needed since KTLS is only in 3.3.
include/haproxy/openssl-compat.h