mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-09 00:00:53 -04:00
tls-peer: Simply ignore certificate request context
This SHALL be zero length for server authentication anyway.
This commit is contained in:
parent
bfa3178836
commit
44cda40d58
@ -409,11 +409,6 @@ static status_t process_certificate(private_tls_peer_t *this,
|
|||||||
this->alert->add(this->alert, TLS_FATAL, TLS_DECODE_ERROR);
|
this->alert->add(this->alert, TLS_FATAL, TLS_DECODE_ERROR);
|
||||||
return NEED_MORE;
|
return NEED_MORE;
|
||||||
}
|
}
|
||||||
if (data.len > 0)
|
|
||||||
{
|
|
||||||
DBG1(DBG_TLS, "certificate request context available,"
|
|
||||||
"but CertificateRequest not received");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (!reader->read_data24(reader, &data))
|
if (!reader->read_data24(reader, &data))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user