summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglen.beasley%sun.com <devnull@localhost>2009-03-26 23:16:37 +0000
committerglen.beasley%sun.com <devnull@localhost>2009-03-26 23:16:37 +0000
commit5c70e203702a16b62ebfe44281f793bba7045b00 (patch)
tree236a2c66a47737cc3ec541692c1cec52f4f082d6
parent95ed073a56f4c6c4b0ce23f6fc6375633b329a4a (diff)
downloadnss-hg-5c70e203702a16b62ebfe44281f793bba7045b00.tar.gz
380784 increase max MAX_ITERATIONS for primegen patch suggested by nelson r+ bob
-rw-r--r--security/nss/lib/freebl/pqg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/freebl/pqg.c b/security/nss/lib/freebl/pqg.c
index 4429207c5..3543c3f4c 100644
--- a/security/nss/lib/freebl/pqg.c
+++ b/security/nss/lib/freebl/pqg.c
@@ -54,7 +54,7 @@
#include "mplogic.h"
#include "secmpi.h"
-#define MAX_ITERATIONS 600 /* Maximum number of iterations of primegen */
+#define MAX_ITERATIONS 1000 /* Maximum number of iterations of primegen */
#define PQG_Q_PRIMALITY_TESTS 18 /* from HAC table 4.4 */
#define PQG_P_PRIMALITY_TESTS 5 /* from HAC table 4.4 */