From: Bodo Möller <bodo@openssl.org>
Date: Fri, 9 Jun 2000 09:11:30 +0000 (+0000)
Subject: Comment for increased code clarity.
X-Git-Tag: OpenSSL-engine-0_9_6-beta1~21^2~76
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=814ed26cfa66945a537f2764f543340845e561a5;p=oweals%2Fopenssl.git

Comment for increased code clarity.
---

diff --git a/crypto/bn/bn_exp2.c b/crypto/bn/bn_exp2.c
index 0b3e13f6bc..29029f4c72 100644
--- a/crypto/bn/bn_exp2.c
+++ b/crypto/bn/bn_exp2.c
@@ -240,7 +240,7 @@ int BN_mod_exp2_mont(BIGNUM *rr, BIGNUM *a1, BIGNUM *p1, BIGNUM *a2,
 				{
 				/* consider bits b-window1+1 .. b for this window */
 				i = b-window1+1;
-				while (!BN_is_bit_set(p1, i))
+				while (!BN_is_bit_set(p1, i)) /* works for i<0 */
 					i++;
 				wpos1 = i;
 				wvalue1 = 1;