From: Joshua Rogers Date: Fri, 10 Oct 2025 12:33:29 +0000 (+0800) Subject: Fix wrong buffer and version in outgoing msg callback X-Git-Tag: 3.6-PRE-CLANG-FORMAT-WEBKIT~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a36fbc272c8ac731491355bdd1cdc1b48ba1b11;p=thirdparty%2Fopenssl.git Fix wrong buffer and version in outgoing msg callback 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) --- 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);