summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bntest.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-11-30 00:37:49 +0000
committerBodo Möller <bodo@openssl.org>2000-11-30 00:37:49 +0000
commit77ac92d00a795ef34ff0a169a87718780250ca54 (patch)
tree9eeb1f28dd2e77fb339500e18cc36e46a8761eb6 /crypto/bn/bntest.c
parent73c2522c7ce821f2c837b58eec7780fb43aa7d4f (diff)
Fix bntest.c problem -- one of the primes got lost
Diffstat (limited to 'crypto/bn/bntest.c')
-rw-r--r--crypto/bn/bntest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bntest.c b/crypto/bn/bntest.c
index 8f5b72c7f2..9d1fca7ea0 100644
--- 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;
}