]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: quic: Fix build error when building QUIC against libressl.
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 24 Jan 2024 14:37:40 +0000 (15:37 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Wed, 24 Jan 2024 14:37:40 +0000 (15:37 +0100)
commitab75d89e074cd35133cf2921895074bfd3b92105
tree9b47cfbdc3394d14be4144955d8ba6deb2a0699e
parent40f99023881e4f0112a4c4d1818d29b771d2821f
BUILD: quic: Fix build error when building QUIC against libressl.

This previous commit was not sufficient to completely fix the building issue
in relation with the TLS stack 0-RTT support. LibreSSL was the last TLS
stack to refuse to compile because of undefined a QUIC specific function
for 0-RTT: SSL_set_quic_early_data_enabled().

To get rid of such compilation issues, define HA_OPENSSL_HAVE_0RTT_SUPPORT
only when building against TLS stack with 0-RTT support.

No need to backport.
include/haproxy/openssl-compat.h
src/quic_ssl.c