BUILD: ssl: more cleaner approach to WolfSSL without renegotiation
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 28 Jan 2025 19:55:20 +0000 (20:55 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 18 Mar 2025 14:42:43 +0000 (15:42 +0100)
commit8ac8e5a228b08498f989eaab49ebd417b169374d
treec5122d9f1b59f87a1fde31e038d183d6d49ebe8b
parent87a11522b6c08857bb23b773f021563d45aa7efa
BUILD: ssl: more cleaner approach to WolfSSL without renegotiation

Patch discussed in https://github.com/wolfSSL/wolfssl/issues/6834

When building Wolfssl without renegotiation options, WolfSSL still
defines the macros about it, which warns during the build.

This patch completes the previous one by undefining the macros so
haproxy could build without any warning.

(cherry picked from commit b43e5d8c1692a0f15db4e621e3cff41158a47167)
Signed-off-by: William Lallemand <wlallemand@haproxy.com>
(cherry picked from commit 5fde007890b75ecfcb70fb77f8644dd68cdcca1b)
Signed-off-by: Amaury Denoyelle <adenoyelle@haproxy.com>
include/haproxy/openssl-compat.h