x509: Skip parsing of acert chargingIdentity, as we don't use it anyway

This commit is contained in:
Martin Willi 2014-02-04 15:16:26 +01:00
parent 3134379ac7
commit a9bfd4b055

View File

@ -97,11 +97,6 @@ struct private_x509_ac_t {
*/
time_t notAfter;
/**
* List of charging attributes
*/
ietf_attributes_t *charging;
/**
* List of groub attributes
*/
@ -416,9 +411,7 @@ static bool parse_certificate(private_x509_ac_t *this)
DBG2(DBG_ASN, " need to parse accessIdentity");
break;
case OID_CHARGING_IDENTITY:
DBG2(DBG_ASN, "-- > --");
this->charging = ietf_attributes_create_from_encoding(object);
DBG2(DBG_ASN, "-- < --");
DBG2(DBG_ASN, " need to parse chargingIdentity");
break;
case OID_GROUP:
DBG2(DBG_ASN, "-- > --");
@ -837,7 +830,6 @@ METHOD(certificate_t, destroy, void,
DESTROY_IF(this->holderCert);
DESTROY_IF(this->signerCert);
DESTROY_IF(this->signerKey);
DESTROY_IF(this->charging);
DESTROY_IF(this->groups);
free(this->serialNumber.ptr);
free(this->authKeyIdentifier.ptr);