From: Dr. Stephen Henson Date: Sun, 27 Feb 2000 17:34:30 +0000 (+0000) Subject: Don't call BN_rand with zero bits in bntest.c X-Git-Tag: OpenSSL_0_9_5a-beta1~169 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=587bb0e02ef5ab7cd65e4adb948397f53ca5c4b5;p=oweals%2Fopenssl.git Don't call BN_rand with zero bits in bntest.c --- diff --git a/CHANGES b/CHANGES index c7c65ec24c..7bdbecf09c 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,9 @@ Changes between 0.9.4 and 0.9.5 [xx XXX 2000] + *) In bntest.c don't call BN_rand with zero bits argument. + [Steve Henson, pointed out by Andrew W. Gray ] + *) BN_mul bugfix: In bn_mul_part_recursion() only the a>a[n] && b>b[n] case was implemented. This caused BN_div_recp() to fail occasionally. [Ulf Möller] 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