Signed-off-by: Joshua Rogers <MegaManSec@users.noreply.github.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28816)
(cherry picked from commit
f7c0fcf0282435687010a34184d4248566008c35)
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, s, s->msg_callback_arg);
if ((tmpclient = BIO_ADDR_new()) == NULL) {