for DTLS handshakes, put change cipher spec and finished messages in same datagram
This commit is contained in:
parent
79fad81c32
commit
ebd03368c7
@ -4802,6 +4802,13 @@ int SendChangeCipher(CYASSL* ssl)
|
||||
|
||||
if (ssl->options.groupMessages)
|
||||
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
|
||||
return SendBuffered(ssl);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user