From 0a36fbc272c8ac731491355bdd1cdc1b48ba1b11 Mon Sep 17 00:00:00 2001 From: Joshua Rogers Date: Fri, 10 Oct 2025 20:33:29 +0800 Subject: [PATCH] Fix wrong buffer and version in outgoing msg callback MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Joshua Rogers Reviewed-by: Matt Caswell Reviewed-by: Saša Nedvědický (Merged from https://github.com/openssl/openssl/pull/28816) (cherry picked from commit f7c0fcf0282435687010a34184d4248566008c35) --- ssl/d1_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index 0e39518abc7..014657e599b 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -748,7 +748,7 @@ int DTLSv1_listen(SSL *ssl, BIO_ADDR *client) 3); if (s->msg_callback) - s->msg_callback(1, 0, SSL3_RT_HEADER, buf, + s->msg_callback(1, version, SSL3_RT_HEADER, wbuf, DTLS1_RT_HEADER_LENGTH, ssl, s->msg_callback_arg); -- 2.47.3