diff options
author | Kevin Coffman <kwc@citi.umich.edu> | 2007-07-05 16:20:38 +0000 |
---|---|---|
committer | Kevin Coffman <kwc@citi.umich.edu> | 2007-07-05 16:20:38 +0000 |
commit | 928e4b3e861ad108a417d33bb311a068fd364989 (patch) | |
tree | ae85d0f0240d79ce4a3af154149fb9cb404ed3c0 | |
parent | e840b43acd927e27af6b9295ca53fc98d03f8d13 (diff) | |
download | krb5-928e4b3e861ad108a417d33bb311a068fd364989.zip krb5-928e4b3e861ad108a417d33bb311a068fd364989.tar.gz krb5-928e4b3e861ad108a417d33bb311a068fd364989.tar.bz2 |
Patch from Ken Renard to avoid double-freecoffman/pkinit
git-svn-id: svn://anonsvn.mit.edu/krb5/users/coffman/pkinit@19676 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/plugins/preauth/pkinit/pkinit_crypto_openssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c b/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c index 71d8a63..1859b4f 100644 --- a/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c +++ b/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c @@ -4214,6 +4214,7 @@ crypto_free_cert_info(krb5_context context, for (i = 0; i < MAX_CREDS_ALLOWED; i++) { if (id_cryptoctx->creds[i] != NULL) { free_cred_info(context, id_cryptoctx, id_cryptoctx->creds[i]); + id_cryptoctx->creds[i] = NULL; } } return 0; |