MINOR: quic: Include QUIC opensssl wrapper header from TLS stacks compatibility header

Include haproxy/quic_openssl_compat.h from haproxy/openssl-compat.h when the
compilation of the QUIC openssl wrapper for TLS stacks is enabled with
USE_QUIC_OPENSSLCOMPAT.
This commit is contained in:
Frédéric Lécaille 2023-06-02 16:44:03 +02:00
parent 1b03f8016d
commit 780133548c

View File

@ -37,6 +37,10 @@
#include <openssl/provider.h>
#endif
#ifdef USE_QUIC_OPENSSL_COMPAT
#include <haproxy/quic_openssl_compat.h>
#endif
#if defined(LIBRESSL_VERSION_NUMBER)
/* LibreSSL is a fork of OpenSSL 1.0.1g but pretends to be 2.0.0, thus
* systematically breaking when some code is written for a specific version