From 3fdc6c11aab4a6886dd9126825fc584cb0f7e608 Mon Sep 17 00:00:00 2001 From: Geoff Thorpe Date: Wed, 22 Oct 2008 01:25:45 +0000 Subject: [PATCH] Use of a 'top' var creates "shadow variable" warnings. --- crypto/bn/bn.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crypto/bn/bn.h b/crypto/bn/bn.h index e366106f12..eedde6a016 100644 --- a/crypto/bn/bn.h +++ b/crypto/bn/bn.h @@ -752,12 +752,12 @@ int RAND_pseudo_bytes(unsigned char *buf,int num); #define bn_correct_top(a) \ { \ BN_ULONG *ftl; \ - int top = (a)->top; \ - if (top > 0) \ + int __top = (a)->top; \ + if (__top > 0) \ { \ - for (ftl= &((a)->d[top-1]); top > 0; top--) \ + for (ftl= &((a)->d[__top-1]); __top > 0; __top--) \ if (*(ftl--)) break; \ - (a)->top = top; \ + (a)->top = __top; \ } \ bn_pollute(a); \ } -- 2.25.1