summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2006-09-23 19:38:00 +0000
committerwtchang%redhat.com <devnull@localhost>2006-09-23 19:38:00 +0000
commitedf591b63d6c33cb4c61428cbf2349f7cb3f384d (patch)
treedf643f932800c10933eed8325d9be83d9a93c180
parentff66387b94d0ff1258f6c81ac7f806f6bf650203 (diff)
downloadnss-hg-edf591b63d6c33cb4c61428cbf2349f7cb3f384d.tar.gz
Bug 352754: Backported the fix for bug 349609 to the MOZILLA_1_8_BRANCH.
a=mtschrep for Mozilla 1.8 RC2.
-rw-r--r--security/nss/lib/softoken/pkcs11c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/softoken/pkcs11c.c b/security/nss/lib/softoken/pkcs11c.c
index c66c9ddf3..dc1dc67f4 100644
--- a/security/nss/lib/softoken/pkcs11c.c
+++ b/security/nss/lib/softoken/pkcs11c.c
@@ -1918,7 +1918,7 @@ sftk_MACUpdate(CK_SESSION_HANDLE hSession,CK_BYTE_PTR pPart,
SECStatus rv;
/* make sure we're legal */
- crv = sftk_GetContext(hSession,&context,type,PR_FALSE,NULL);
+ crv = sftk_GetContext(hSession,&context,type,PR_TRUE,NULL);
if (crv != CKR_OK) return crv;
if (context->hashInfo) {