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 8f5b72c7f2d537328f8e6cd4f5d1a3cccab92748..9d1fca7ea0cffcc2ec56fccec7d8e397e74106c7 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;
                        }