Index: nss/lib/softoken/pkcs11.c |
=================================================================== |
--- nss/lib/softoken/pkcs11.c (revision 245298) |
+++ nss/lib/softoken/pkcs11.c (working copy) |
@@ -1106,9 +1106,9 @@ |
break; |
#endif /* NSS_ENABLE_ECC */ |
case CKK_NSS_JPAKE_ROUND1: |
- if (!sftk_hasAttribute(object, CKA_PRIME || |
+ if (!sftk_hasAttribute(object, CKA_PRIME) || |
!sftk_hasAttribute(object, CKA_SUBPRIME) || |
- !sftk_hasAttribute(object, CKA_BASE))) { |
+ !sftk_hasAttribute(object, CKA_BASE)) { |
return CKR_TEMPLATE_INCOMPLETE; |
} |
/* fall through */ |