From 2e0d53a07d68fa93bd351714128779820cc25b4a Mon Sep 17 00:00:00 2001 From: Marco Oliverio Date: Wed, 20 Jul 2022 14:52:29 +0200 Subject: [PATCH] fix: dtls13: use correct handshaketype on hello retry request --- src/tls13.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls13.c b/src/tls13.c index 1f4819c51..5731f01b1 100644 --- a/src/tls13.c +++ b/src/tls13.c @@ -5731,7 +5731,7 @@ int SendTls13ServerHello(WOLFSSL* ssl, byte extMsgType) #ifdef WOLFSSL_DTLS13 if (ssl->options.dtls) { ret = Dtls13HandshakeSend(ssl, output, sendSz, sendSz, - server_hello, 0); + extMsgType, 0); WOLFSSL_LEAVE("SendTls13ServerHello", ret); WOLFSSL_END(WC_FUNC_SERVER_HELLO_SEND);