summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2006-05-12 16:51:28 +0000
committerwtchang%redhat.com <devnull@localhost>2006-05-12 16:51:28 +0000
commit3063d0d6828e62511133bc5115af3edcf72f6e75 (patch)
tree719cccfbd3ac3a8b430432511d5206945a0b1ead
parent56ec616b33e40948655413b77d1a063406db11c6 (diff)
downloadnss-hg-3063d0d6828e62511133bc5115af3edcf72f6e75.tar.gz
Bugzilla bug 336938: removed a test that is guaranteed to be false. The
patch is contributed by Jon Smirl <jonsmirl@yahoo.com>. r=wtc. Tag: NSS_3_11_BRANCH
-rw-r--r--security/nss/lib/freebl/pqg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/nss/lib/freebl/pqg.c b/security/nss/lib/freebl/pqg.c
index e84277f30..66c535fe9 100644
--- a/security/nss/lib/freebl/pqg.c
+++ b/security/nss/lib/freebl/pqg.c
@@ -638,7 +638,6 @@ PQG_VerifyParams(const PQGParams *params,
/* 6. P is prime */
CHECKPARAM( mpp_pprime(&P, PQG_P_PRIMALITY_TESTS) == MP_YES );
/* Steps 7-12 are done only if the optional PQGVerify is supplied. */
- if (!vfy) goto cleanup;
/* 7. counter < 4096 */
CHECKPARAM( vfy->counter < 4096 );
/* 8. g >= 160 and g < 2048 (g is length of seed in bits) */