mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-08 00:02:03 -04:00
tls-peer: Fix parsing of intermediate CA certificates
This commit is contained in:
parent
2e1c0a2776
commit
4c40a3d3f0
@ -469,12 +469,10 @@ static status_t process_certificate(private_tls_peer_t *this,
|
||||
{
|
||||
if (!certs->read_data16(certs, &data))
|
||||
{
|
||||
DBG1(DBG_TLS, "reading extension field of certificate failed",
|
||||
&data);
|
||||
DBG1(DBG_TLS, "failed to read extensions of CertificateEntry");
|
||||
this->alert->add(this->alert, TLS_FATAL, TLS_DECODE_ERROR);
|
||||
return NEED_MORE;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
certs->destroy(certs);
|
||||
|
Loading…
x
Reference in New Issue
Block a user