diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-08-08 06:02:59 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-08-08 06:02:59 +0000 |
commit | 037575682a27f9f53a75a1a2368c83e17bae9557 (patch) | |
tree | 724d89b8e9b5c7ed83ceccd1b97e97a17462a129 | |
parent | dce4600015b9d526e06a119e8c46449aa2ec0b93 (diff) | |
download | strongswan-037575682a27f9f53a75a1a2368c83e17bae9557.tar.bz2 strongswan-037575682a27f9f53a75a1a2368c83e17bae9557.tar.xz |
bug fix in linked_list deletion - instead of acerts destroyed certs twice4.1.5
-rw-r--r-- | src/charon/config/credentials/local_credential_store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/config/credentials/local_credential_store.c b/src/charon/config/credentials/local_credential_store.c index ce18c670e..64042068d 100644 --- a/src/charon/config/credentials/local_credential_store.c +++ b/src/charon/config/credentials/local_credential_store.c @@ -1468,7 +1468,7 @@ static void destroy(private_local_credential_store_t *this) this->certs->destroy_offset(this->certs, offsetof(x509_t, destroy)); this->auth_certs->destroy_offset(this->auth_certs, offsetof(x509_t, destroy)); this->ca_infos->destroy_offset(this->ca_infos, offsetof(ca_info_t, destroy)); - this->acerts->destroy_offset(this->certs, offsetof(x509ac_t, destroy)); + this->acerts->destroy_offset(this->acerts, offsetof(x509ac_t, destroy)); this->private_keys->destroy_offset(this->private_keys, offsetof(rsa_private_key_t, destroy)); this->shared_keys->destroy_function(this->shared_keys, (void*)shared_key_destroy); this->eap_keys->destroy_function(this->eap_keys, (void*)shared_key_destroy); |