aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypto/nss/hmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypto/nss/hmac.c')
-rw-r--r--src/lib/crypto/nss/hmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypto/nss/hmac.c b/src/lib/crypto/nss/hmac.c
index ceed1d1..a909e6e 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;
}