tls-peer: Support answering KeyUpdate requests

This commit is contained in:
Tobias Brunner
2021-02-12 11:45:44 +01:00
parent 27360d3407
commit e02f19e3c6
2 changed files with 31 additions and 1 deletions
+1
View File
@@ -358,6 +358,7 @@ static status_t build_handshake(private_tls_fragmentation_t *this)
DBG2(DBG_TLS, "sending TLS %N handshake (%u bytes)",
tls_handshake_type_names, type, hs->get_buf(hs).len);
if (type != TLS_FINISHED &&
type != TLS_KEY_UPDATE &&
!this->handshake->cipherspec_changed(this->handshake, FALSE))
{
hs->destroy(hs);