summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bntest.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2000-02-27 17:34:30 +0000
committerDr. Stephen Henson <steve@openssl.org>2000-02-27 17:34:30 +0000
commit587bb0e02ef5ab7cd65e4adb948397f53ca5c4b5 (patch)
tree697e5452b990b9e425f98e3aabb5c00d8b7cc9f9 /crypto/bn/bntest.c
parent2eb5bc5c6d3ddec5b50d1b4b181ab37b5e9bd2c6 (diff)
Don't call BN_rand with zero bits in bntest.c
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 2a45c3a9ca..41c22f5954 100644
--- a/crypto/bn/bntest.c
+++ b/crypto/bn/bntest.c
@@ -506,7 +506,7 @@ int test_mul(BIO *bp)
for (i=0; i<num0+num1; i++)
{
- if (i < num1)
+ if (i <= num1)
{
BN_rand(&a,100,0,0);
BN_rand(&b,100,0,0);