tls-peer: Simply ignore certificate request context

This SHALL be zero length for server authentication anyway.
This commit is contained in:
Tobias Brunner 2020-08-25 17:21:02 +02:00
parent bfa3178836
commit 44cda40d58

View File

@ -409,11 +409,6 @@ static status_t process_certificate(private_tls_peer_t *this,
this->alert->add(this->alert, TLS_FATAL, TLS_DECODE_ERROR);
return NEED_MORE;
}
if (data.len > 0)
{
DBG1(DBG_TLS, "certificate request context available,"
"but CertificateRequest not received");
}
}
if (!reader->read_data24(reader, &data))
{