mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-06 00:00:47 -04:00
x509: Skip parsing of acert chargingIdentity, as we don't use it anyway
This commit is contained in:
parent
3134379ac7
commit
a9bfd4b055
@ -97,11 +97,6 @@ struct private_x509_ac_t {
|
|||||||
*/
|
*/
|
||||||
time_t notAfter;
|
time_t notAfter;
|
||||||
|
|
||||||
/**
|
|
||||||
* List of charging attributes
|
|
||||||
*/
|
|
||||||
ietf_attributes_t *charging;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List of groub attributes
|
* List of groub attributes
|
||||||
*/
|
*/
|
||||||
@ -416,9 +411,7 @@ static bool parse_certificate(private_x509_ac_t *this)
|
|||||||
DBG2(DBG_ASN, " need to parse accessIdentity");
|
DBG2(DBG_ASN, " need to parse accessIdentity");
|
||||||
break;
|
break;
|
||||||
case OID_CHARGING_IDENTITY:
|
case OID_CHARGING_IDENTITY:
|
||||||
DBG2(DBG_ASN, "-- > --");
|
DBG2(DBG_ASN, " need to parse chargingIdentity");
|
||||||
this->charging = ietf_attributes_create_from_encoding(object);
|
|
||||||
DBG2(DBG_ASN, "-- < --");
|
|
||||||
break;
|
break;
|
||||||
case OID_GROUP:
|
case OID_GROUP:
|
||||||
DBG2(DBG_ASN, "-- > --");
|
DBG2(DBG_ASN, "-- > --");
|
||||||
@ -837,7 +830,6 @@ METHOD(certificate_t, destroy, void,
|
|||||||
DESTROY_IF(this->holderCert);
|
DESTROY_IF(this->holderCert);
|
||||||
DESTROY_IF(this->signerCert);
|
DESTROY_IF(this->signerCert);
|
||||||
DESTROY_IF(this->signerKey);
|
DESTROY_IF(this->signerKey);
|
||||||
DESTROY_IF(this->charging);
|
|
||||||
DESTROY_IF(this->groups);
|
DESTROY_IF(this->groups);
|
||||||
free(this->serialNumber.ptr);
|
free(this->serialNumber.ptr);
|
||||||
free(this->authKeyIdentifier.ptr);
|
free(this->authKeyIdentifier.ptr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user