fix: dtls13: use correct handshaketype on hello retry request

This commit is contained in:
Marco Oliverio 2022-07-20 14:52:29 +02:00
parent 3850e6b554
commit 2e0d53a07d

View File

@ -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);