diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2007-12-14 19:34:05 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2007-12-14 19:34:05 +0000 |
commit | df9b5405e89fc8c9d7ca611ec30078e318dc1bb7 (patch) | |
tree | 8411b84213c104854ecddf29c73d180271601dca /crypto/sha | |
parent | 180eb5b3c2b9558ef758a2674b868394f5fb4a7a (diff) |
Don't shadow.
Diffstat (limited to 'crypto/sha')
-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 5481261ac2..867f90cc97 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 xn; \ 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 (xn=0;xn<SHA224_DIGEST_LENGTH/4;xn++) \ + { ll=(c)->h[xn]; 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 (xn=0;xn<SHA256_DIGEST_LENGTH/4;xn++) \ + { ll=(c)->h[xn]; 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 (xn=0;xn<(c)->md_len/4;xn++) \ + { ll=(c)->h[xn]; HOST_l2c(ll,(s)); } \ break; \ } \ } while (0) |