fixed bad cleanup which results in segfault if no issuer cert found, fixes #43
authorMartin Willi <martin@strongswan.org>
Mon, 7 Apr 2008 08:06:02 +0000 (08:06 -0000)
committerMartin Willi <martin@strongswan.org>
Mon, 7 Apr 2008 08:06:02 +0000 (08:06 -0000)
src/charon/credentials/credential_manager.c

index 1e01249..ff8b3f7 100644 (file)
@@ -927,7 +927,6 @@ static bool verify_trust_chain(private_credential_manager_t *this,
                        {
                                DBG1(DBG_CFG, "no issuer certificate found for \"%D\"", 
                                         current->get_subject(current));
-                               issuer->destroy(issuer);
                                break;
                        }
                }