avoid warnings ('index' shadows global declaration)
authorBodo Möller <bodo@openssl.org>
Tue, 29 Oct 2002 11:50:20 +0000 (11:50 +0000)
committerBodo Möller <bodo@openssl.org>
Tue, 29 Oct 2002 11:50:20 +0000 (11:50 +0000)
Submitted by: Nils Larsch

crypto/bn/bn_lcl.h

index 090a7a0d0099a0ab4e1124d08e1889df3beea7e5..1db940f4c5865bb4de69c26a1437e388007add40 100644 (file)
@@ -242,9 +242,9 @@ struct bignum_ctx
 
 #define bn_clear_top2max(a) \
        { \
-       int      index = (a)->dmax - (a)->top; \
+       int      ind = (a)->dmax - (a)->top; \
        BN_ULONG *ftl = &(a)->d[(a)->top-1]; \
-       for (; index != 0; index--) \
+       for (; ind != 0; ind--) \
                *(++ftl) = 0x0; \
        }