projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcf6b3e
)
Use of a 'top' var creates "shadow variable" warnings.
author
Geoff Thorpe
<geoff@openssl.org>
Wed, 22 Oct 2008 01:25:45 +0000
(
01:25
+0000)
committer
Geoff Thorpe
<geoff@openssl.org>
Wed, 22 Oct 2008 01:25:45 +0000
(
01:25
+0000)
crypto/bn/bn.h
patch
|
blob
|
history
diff --git
a/crypto/bn/bn.h
b/crypto/bn/bn.h
index e366106f1268f91f59cc7dca4f8c35a9e8db0fba..eedde6a016db715bb2351ccd26a35f7c7cc9eac8 100644
(file)
--- 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); \
}