diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-11-07 16:20:14 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-11-07 16:20:14 +0000 |
commit | ad0e439604abf22dcf9e9b7ffd0618c7f3489e02 (patch) | |
tree | f52dc4d2aec03cb5e623fc2a89ffdfd01bf7379d /crypto/sha/sha256.c | |
parent | 54565832949c64d715d9e09cc8d4b52a755a5e9d (diff) |
Avoid shadow warning.
Diffstat (limited to 'crypto/sha/sha256.c')
-rw-r--r-- | crypto/sha/sha256.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crypto/sha/sha256.c b/crypto/sha/sha256.c index 9b69ff38d2..f687ca8321 100644 --- a/crypto/sha/sha256.c +++ b/crypto/sha/sha256.c @@ -84,21 +84,21 @@ int SHA224_Final (unsigned char *md, SHA256_CTX *c) */ #define HASH_MAKE_STRING(c,s) do { \ unsigned long ll; \ - unsigned int n; \ + unsigned int nn; \ switch ((c)->md_len) \ { case SHA224_DIGEST_LENGTH: \ - for (n=0;n<SHA224_DIGEST_LENGTH/4;n++) \ - { ll=(c)->h[n]; HOST_l2c(ll,(s)); } \ + for (nn=0;nn<SHA224_DIGEST_LENGTH/4;nn++) \ + { ll=(c)->h[nn]; HOST_l2c(ll,(s)); } \ break; \ case SHA256_DIGEST_LENGTH: \ - for (n=0;n<SHA256_DIGEST_LENGTH/4;n++) \ - { ll=(c)->h[n]; HOST_l2c(ll,(s)); } \ + for (nn=0;nn<SHA256_DIGEST_LENGTH/4;nn++) \ + { ll=(c)->h[nn]; HOST_l2c(ll,(s)); } \ break; \ default: \ if ((c)->md_len > SHA256_DIGEST_LENGTH) \ return 0; \ - for (n=0;n<(c)->md_len/4;n++) \ - { ll=(c)->h[n]; HOST_l2c(ll,(s)); } \ + for (nn=0;nn<(c)->md_len/4;nn++) \ + { ll=(c)->h[nn]; HOST_l2c(ll,(s)); } \ break; \ } \ } while (0) |