projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A general spring-cleaning (in autumn) to fix up signed/unsigned warnings.
[openssl.git]
/
apps
/
passwd.c
diff --git
a/apps/passwd.c
b/apps/passwd.c
index 3ad91d89d6a51f3647d3212e294fdc2b809e35b4..b9d9d7a36ad7d20a9b444e1e65d7ce56ad34d146 100644
(file)
--- a/
apps/passwd.c
+++ b/
apps/passwd.c
@@
-312,7
+312,8
@@
static char *md5crypt(const char *passwd, const char *magic, const char *salt)
static char out_buf[6 + 9 + 24 + 2]; /* "$apr1$..salt..$.......md5hash..........\0" */
unsigned char buf[MD5_DIGEST_LENGTH];
char *salt_out;
- int n, i;
+ int n;
+ unsigned int i;
EVP_MD_CTX md,md2;
size_t passwd_len, salt_len;