diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-02-27 18:34:30 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-02-27 18:34:30 +0100 |
commit | 587bb0e02ef5ab7cd65e4adb948397f53ca5c4b5 (patch) | |
tree | 697e5452b990b9e425f98e3aabb5c00d8b7cc9f9 /crypto/bn | |
parent | Make sure to catch UnixWare 7, even if the version is 7.1.1 or (diff) | |
download | openssl-587bb0e02ef5ab7cd65e4adb948397f53ca5c4b5.tar.xz openssl-587bb0e02ef5ab7cd65e4adb948397f53ca5c4b5.zip |
Don't call BN_rand with zero bits in bntest.c
Diffstat (limited to 'crypto/bn')
-rw-r--r-- | crypto/bn/bntest.c | 2 |
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); |