summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwchang0222%aol.com <devnull@localhost>2003-12-22 22:53:54 +0000
committerwchang0222%aol.com <devnull@localhost>2003-12-22 22:53:54 +0000
commit31f102bb3202b3ec83333582c619ec497eef31e1 (patch)
treeec521759c386313ca57052099602368808958cc1
parent78ca28a182cec7d127abc902758cab807dbb0bf4 (diff)
downloadnss-hg-31f102bb3202b3ec83333582c619ec497eef31e1.tar.gz
Remove an overreaching constraing on modulus length. Bug 226285.
Tag: NSS_3_4_BRANCH
-rw-r--r--security/nss/lib/softoken/pkcs11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/softoken/pkcs11.c b/security/nss/lib/softoken/pkcs11.c
index 8fb2e32f9..79265feeb 100644
--- a/security/nss/lib/softoken/pkcs11.c
+++ b/security/nss/lib/softoken/pkcs11.c
@@ -983,7 +983,7 @@ pk11_handlePublicKeyObject(PK11Session *session, PK11Object *object,
switch (key_type) {
case CKK_RSA:
crv = pk11_ConstrainAttribute(object, CKA_MODULUS,
- RSA_MIN_MODULUS_BITS, 0, 2);
+ RSA_MIN_MODULUS_BITS, 0, 0);
if (crv != CKR_OK) {
return crv;
}