diff options
author | wtchang%redhat.com <devnull@localhost> | 2006-04-20 21:55:24 +0000 |
---|---|---|
committer | wtchang%redhat.com <devnull@localhost> | 2006-04-20 21:55:24 +0000 |
commit | 5629fa7b90520413a039e1c970a41457e0daebff (patch) | |
tree | 9470a187a56fdad800553614ace52df0fd549fcf | |
parent | 7de5bd66895b7bea728936336757edc63ea2bc33 (diff) | |
download | nss-hg-5629fa7b90520413a039e1c970a41457e0daebff.tar.gz |
Bugzilla Bug 326754: checked the change back in. We failed the NIST DSA
PQGGen test for some other reason (bug 334533).
-rw-r--r-- | security/nss/lib/freebl/pqg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/freebl/pqg.c b/security/nss/lib/freebl/pqg.c index 0e509ada6..2a3337c54 100644 --- a/security/nss/lib/freebl/pqg.c +++ b/security/nss/lib/freebl/pqg.c @@ -538,7 +538,7 @@ step_15: ** in certifying the proper generation of p and q." */ /* Generate h. */ - SECITEM_AllocItem(NULL, &hit, seedBytes); /* h is no longer than p */ + SECITEM_AllocItem(NULL, &hit, L/8); /* h is no longer than p */ if (!hit.data) goto cleanup; do { /* loop generate h until 1<h<p-1 and (h**[(p-1)/q])mod p > 1 */ |