From 037575682a27f9f53a75a1a2368c83e17bae9557 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Wed, 8 Aug 2007 06:02:59 +0000 Subject: bug fix in linked_list deletion - instead of acerts destroyed certs twice --- src/charon/config/credentials/local_credential_store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3