BUILD: quic: fix build on centos 8 and USE_QUIC_OPENSSL_COMPAT
When using USE_QUIC_OPENSSL_COMPAT=1 on centos-8 the build fail this way: In file included from src/quic_openssl_compat.c:11: /usr/include/openssl/kdf.h:33:46: error: unknown type name 'va_list' int EVP_KDF_vctrl(EVP_KDF_CTX *ctx, int cmd, va_list args); This is because of openssl/kdf.h being include before openssl-compat.h
This commit is contained in:
parent
89e20033c7
commit
694889ac2d
|
@ -6,11 +6,10 @@
|
|||
#error "Must define USE_OPENSSL"
|
||||
#endif
|
||||
|
||||
#include <haproxy/openssl-compat.h>
|
||||
/* Highly inspired from nginx QUIC TLS compatibilty code */
|
||||
|
||||
#include <openssl/kdf.h>
|
||||
|
||||
#include <haproxy/openssl-compat.h>
|
||||
#include <haproxy/quic_conn.h>
|
||||
#include <haproxy/quic_tls.h>
|
||||
#include <haproxy/ssl_sock.h>
|
||||
|
|
Loading…
Reference in New Issue