diff options
author | Martin Willi <martin@revosec.ch> | 2014-02-04 15:16:26 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-03-31 11:14:58 +0200 |
commit | a9bfd4b0553c6b2eed295ef4e0791563d0928e16 (patch) | |
tree | 965044105ebaa0e38312bd857de71aaffdfbf3d5 /src | |
parent | 3134379ac7f155366ea3df1fb8660bd2d513582b (diff) | |
download | strongswan-a9bfd4b0553c6b2eed295ef4e0791563d0928e16.tar.bz2 strongswan-a9bfd4b0553c6b2eed295ef4e0791563d0928e16.tar.xz |
x509: Skip parsing of acert chargingIdentity, as we don't use it anyway
Diffstat (limited to 'src')
-rw-r--r-- | src/libstrongswan/plugins/x509/x509_ac.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/libstrongswan/plugins/x509/x509_ac.c b/src/libstrongswan/plugins/x509/x509_ac.c index ab89abad0..b7da97da4 100644 --- a/src/libstrongswan/plugins/x509/x509_ac.c +++ b/src/libstrongswan/plugins/x509/x509_ac.c @@ -98,11 +98,6 @@ struct private_x509_ac_t { time_t notAfter; /** - * List of charging attributes - */ - ietf_attributes_t *charging; - - /** * List of groub attributes */ ietf_attributes_t *groups; @@ -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); |