From 461ea717453e4df61e4dcbebd469cc569ef2d5b8 Mon Sep 17 00:00:00 2001 From: Frederic Lecaille Date: Thu, 29 Oct 2026 11:47:16 +0100 Subject: [PATCH] MINOR: quic: use the right trace event in quic_tls_key_update() The next RX/TX secret lengths are reported with QUIC_EV_CONN_SPPKTS, whose handler expects a , while the rest of the function uses QUIC_EV_CONN_KP event. TRACE_PRINTF() bypasses the source callback through <&trace_no_cb>, so nothing crashed: the message was just filtered under the wrong event. --- src/quic_tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quic_tls.c b/src/quic_tls.c index 10d7e7ade..a52a42416 100644 --- a/src/quic_tls.c +++ b/src/quic_tls.c @@ -1088,7 +1088,7 @@ int quic_tls_key_update(struct quic_conn *qc) TRACE_ENTER(QUIC_EV_CONN_KP, qc); - TRACE_PRINTF(TRACE_LEVEL_DEVELOPER, QUIC_EV_CONN_SPPKTS, qc, 0, 0, 0, + TRACE_PRINTF(TRACE_LEVEL_DEVELOPER, QUIC_EV_CONN_KP, qc, 0, 0, 0, "nxt_rx->secretlen=%llu rx->secretlen=%llu", (ull)nxt_rx->secretlen, (ull)rx->secretlen); /* Prepare new RX secrets */ -- 2.47.3