mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Fix HelloRetryRequest to be sent immediately and not grouped
This commit is contained in:
@@ -4235,7 +4235,11 @@ int SendTls13ServerHello(WOLFSSL* ssl, byte extMsgType)
|
|||||||
ssl->options.serverState = SERVER_HELLO_COMPLETE;
|
ssl->options.serverState = SERVER_HELLO_COMPLETE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef WOLFSSL_TLS13_DRAFT_18
|
||||||
if (!ssl->options.groupMessages)
|
if (!ssl->options.groupMessages)
|
||||||
|
#else
|
||||||
|
if (!ssl->options.groupMessages || extMsgType != server_hello)
|
||||||
|
#endif
|
||||||
ret = SendBuffered(ssl);
|
ret = SendBuffered(ssl);
|
||||||
|
|
||||||
WOLFSSL_LEAVE("SendTls13ServerHello", ret);
|
WOLFSSL_LEAVE("SendTls13ServerHello", ret);
|
||||||
|
Reference in New Issue
Block a user