mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 19:54:40 +02:00
for DTLS handshakes, put change cipher spec and finished messages in same datagram
This commit is contained in:
@@ -4802,6 +4802,13 @@ int SendChangeCipher(CYASSL* ssl)
|
|||||||
|
|
||||||
if (ssl->options.groupMessages)
|
if (ssl->options.groupMessages)
|
||||||
return 0;
|
return 0;
|
||||||
|
#ifdef CYASSL_DTLS
|
||||||
|
else if (ssl->options.dtls) {
|
||||||
|
/* If using DTLS, force the ChangeCipherSpec message to be in the
|
||||||
|
* same datagram as the finished message. */
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
else
|
else
|
||||||
return SendBuffered(ssl);
|
return SendBuffered(ssl);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user