x509: Fix leak if a CRL contains multiple authorityKeyIdentifiers
This commit is contained in:
@@ -302,6 +302,7 @@ static bool parse(private_x509_crl_t *this)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case OID_AUTHORITY_KEY_ID:
|
case OID_AUTHORITY_KEY_ID:
|
||||||
|
chunk_free(&this->authKeyIdentifier);
|
||||||
this->authKeyIdentifier =
|
this->authKeyIdentifier =
|
||||||
x509_parse_authorityKeyIdentifier(
|
x509_parse_authorityKeyIdentifier(
|
||||||
object, level, &this->authKeySerialNumber);
|
object, level, &this->authKeySerialNumber);
|
||||||
|
|||||||
Reference in New Issue
Block a user