]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Fix build with USE_QUIC_OPENSSL_COMPAT
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 3 Feb 2026 03:02:46 +0000 (04:02 +0100)
committerOlivier Houchard <ohouchard@haproxy.com>
Tue, 3 Feb 2026 03:05:34 +0000 (04:05 +0100)
Commit fa094d0b619343f61fab877ef65f43b404262dd9 changed the msg callback
args, but forgot to fix quic_tls_msg_callback() accordingly, so do that,
and remove the unused struct connection paramter.

include/haproxy/quic_openssl_compat.h
src/quic_openssl_compat.c

index 7147a6ff91189880c78f1dd8d59ceeb39c334973..c153c7b4e791d86063ea9569888055bddb0151f6 100644 (file)
@@ -20,8 +20,7 @@
 #define QUIC_OPENSSL_COMPAT_CLIENT_APPLICATION   "CLIENT_TRAFFIC_SECRET_0"
 #define QUIC_OPENSSL_COMPAT_SERVER_APPLICATION   "SERVER_TRAFFIC_SECRET_0"
 
-void quic_tls_compat_msg_callback(struct connection *conn,
-                                  int write_p, int version, int content_type,
+void quic_tls_compat_msg_callback(int write_p, int version, int content_type,
                                   const void *buf, size_t len, SSL *ssl);
 int quic_tls_compat_init(struct bind_conf *bind_conf, SSL_CTX *ctx);
 void quic_tls_compat_keylog_callback(const SSL *ssl, const char *line);
index 2e55c3cedcdce45a77b80887b18100fb52a4038c..ce9ac252a61f300a4abdc8f66ba9372bf7020cb0 100644 (file)
@@ -359,8 +359,7 @@ leave:
 }
 
 /* Callback use to parse TLS messages for <ssl> TLS session. */
-void quic_tls_compat_msg_callback(struct connection *conn,
-                                  int write_p, int version, int content_type,
+void quic_tls_compat_msg_callback(int write_p, int version, int content_type,
                                   const void *buf, size_t len, SSL *ssl)
 {
        unsigned int alert;