diff options
author | Bodo Möller <bodo@openssl.org> | 2000-02-17 18:36:21 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-02-17 18:36:21 +0000 |
commit | 73c55919443640e0856d4e80be9b7123fc270b02 (patch) | |
tree | 086a3a180a4d4bd181cf71b8ee6bc56f8ee0b136 /apps/passwd.c | |
parent | c417db467515205880af69162e80be0f406b13b5 (diff) | |
download | openssl-73c55919443640e0856d4e80be9b7123fc270b02.tar.gz |
Casts now unnecessary because of changed prototype.
Diffstat (limited to 'apps/passwd.c')
-rw-r--r-- | apps/passwd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/passwd.c b/apps/passwd.c index 0e5682d1d6..6b8aafa157 100644 --- a/apps/passwd.c +++ b/apps/passwd.c @@ -323,13 +323,13 @@ static char *apr1_crypt(const char *passwd, const char *salt) MD5_CTX md2; MD5_Init(&md2); - MD5_Update(&md2, (i & 1) ? (unsigned char *) passwd : buf, - (i & 1) ? passwd_len : sizeof buf); + MD5_Update(&md2, (i & 1) ? passwd : buf, + (i & 1) ? passwd_len : sizeof buf); if (i % 3) MD5_Update(&md2, salt_out, salt_len); if (i % 7) MD5_Update(&md2, passwd, passwd_len); - MD5_Update(&md2, (i & 1) ? buf : (unsigned char *) passwd, + MD5_Update(&md2, (i & 1) ? buf : passwd, (i & 1) ? sizeof buf : passwd_len); MD5_Final(buf, &md2); } |