Index: nss/mozilla/security/nss/lib/pk11wrap/pk11cxt.c |
=================================================================== |
--- nss/mozilla/security/nss/lib/pk11wrap/pk11cxt.c (revision 55475) |
+++ nss/mozilla/security/nss/lib/pk11wrap/pk11cxt.c (working copy) |
@@ -249,7 +249,8 @@ |
SECStatus rv; |
PORT_Assert(slot != NULL); |
- if (!slot || (!symKey && operation != CKA_DIGEST)) { |
+ if (!slot || (!symKey && ((operation != CKA_DIGEST) || |
+ (type == CKM_SKIPJACK_CBC64)))) { |
PORT_SetError(SEC_ERROR_INVALID_ARGS); |
return NULL; |
} |