From: Greg Hudson Date: Tue, 28 Sep 2010 00:02:03 +0000 (+0000) Subject: Use the PK11_DestroyContext() instead of PK11_Finalize() to destroy X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b274418c230aaae413739a47488587656ec9c91a;p=thirdparty%2Fkrb5.git Use the PK11_DestroyContext() instead of PK11_Finalize() to destroy crypto contexts in hmac.c as well. git-svn-id: svn://anonsvn.mit.edu/krb5/branches/nss@24366 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/nss/hmac.c b/src/lib/crypto/nss/hmac.c index ceed1d1715..a909e6ec13 100644 --- a/src/lib/crypto/nss/hmac.c +++ b/src/lib/crypto/nss/hmac.c @@ -159,7 +159,7 @@ krb5int_hmac(const struct krb5_hash_provider *hash, krb5_key key, fail: ret = k5_nss_map_last_error(); if (ctx) - PK11_Finalize(ctx); + PK11_DestroyContext(ctx, PR_TRUE); return ret; }