mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-06 00:00:47 -04:00
x509: Fix leak if a CRL contains multiple authorityKeyIdentifiers
This commit is contained in:
parent
bd6e4bbe68
commit
9ba01ce380
@ -302,6 +302,7 @@ static bool parse(private_x509_crl_t *this)
|
||||
}
|
||||
break;
|
||||
case OID_AUTHORITY_KEY_ID:
|
||||
chunk_free(&this->authKeyIdentifier);
|
||||
this->authKeyIdentifier =
|
||||
x509_parse_authorityKeyIdentifier(
|
||||
object, level, &this->authKeySerialNumber);
|
||||
|
Loading…
x
Reference in New Issue
Block a user