Don't free the hx509ctx

otherwise we crash if we fail to init certs (e.g. due to missing
smartcard).

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:
Guido Günther
2009-12-22 17:45:15 +01:00
committed by Love Hornquist Astrand
parent ecf9e3c989
commit 33f3be4d52
2 changed files with 0 additions and 1 deletions

0
autogen.sh Normal file → Executable file
View File

View File

@@ -1959,7 +1959,6 @@ _krb5_pk_load_id(krb5_context context,
hx509_certs_free(&id->anchors);
hx509_certs_free(&id->certpool);
hx509_revoke_free(&id->revokectx);
hx509_context_free(&context->hx509ctx);
free(id);
} else
*ret_id = id;