]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Add a quic_openssl_compat struct to quic_conn struct
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 8 Jun 2023 05:14:02 +0000 (07:14 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Fri, 21 Jul 2023 13:54:31 +0000 (15:54 +0200)
Add quic_openssl_compat struct to the quic_conn struct to support the
QUIC OpenSSL wrapper feature.

include/haproxy/quic_conn-t.h

index cf246d99a51a41c7671ca0d326b31ef3494c9af2..3f9e1a38d104b0acade9ca60e74e08c790a4009a 100644 (file)
@@ -36,6 +36,7 @@
 #include <haproxy/quic_cc-t.h>
 #include <haproxy/quic_frame-t.h>
 #include <haproxy/quic_loss-t.h>
+#include <haproxy/quic_openssl_compat-t.h>
 #include <haproxy/quic_stats-t.h>
 #include <haproxy/quic_tls-t.h>
 #include <haproxy/quic_tp-t.h>
@@ -615,6 +616,9 @@ struct quic_conn {
        struct list pktns_list;
 
        struct ssl_sock_ctx *xprt_ctx;
+#ifdef USE_QUIC_OPENSSL_COMPAT
+       struct quic_openssl_compat openssl_compat;
+#endif
 
        struct sockaddr_storage local_addr;
        struct sockaddr_storage peer_addr;