projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bntest.c problem -- one of the primes got lost
[openssl.git]
/
crypto
/
bn
/
bntest.c
diff --git
a/crypto/bn/bntest.c
b/crypto/bn/bntest.c
index 8f5b72c7f2d537328f8e6cd4f5d1a3cccab92748..9d1fca7ea0cffcc2ec56fccec7d8e397e74106c7 100644
(file)
--- a/
crypto/bn/bntest.c
+++ b/
crypto/bn/bntest.c
@@
-1013,7
+1013,7
@@
int test_sqrt(BIO *bp, BN_CTX *ctx)
{
if (i < 8)
{
- unsigned primes[8] = { 2, 3, 7, 11, 13, 17, 19 };
+ unsigned primes[8] = { 2, 3,
5,
7, 11, 13, 17, 19 };
if (!BN_set_word(p, primes[i])) goto err;
}