Fix bntest.c problem -- one of the primes got lost
authorBodo Möller <bodo@openssl.org>
Thu, 30 Nov 2000 00:37:49 +0000 (00:37 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 30 Nov 2000 00:37:49 +0000 (00:37 +0000)
crypto/bn/bntest.c

index 8f5b72c..9d1fca7 100644 (file)
@@ -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;
                        }