Fix shadow warning from 0.9.8-stable.
This commit is contained in:
parent
9e1468e482
commit
280bc44730
1 changed files with 7 additions and 7 deletions
|
@ -91,21 +91,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)
|
||||
|
|
Loading…
Reference in a new issue