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