aboutsummaryrefslogtreecommitdiffstats
path: root/smtp.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-03-18 23:29:22 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-03-18 23:29:22 +0100
commit8e4bfa7520c919ec2a7b00067c3348f0d1c73c8d (patch)
treef5342330bc2dea4ed531ce9ff130cbe2546e1121 /smtp.c
parent05cb2b9c62b323a1278c81b6cbe00b2e4186b4f4 (diff)
downloadfetchmail-8e4bfa7520c919ec2a7b00067c3348f0d1c73c8d.tar.gz
fetchmail-8e4bfa7520c919ec2a7b00067c3348f0d1c73c8d.tar.bz2
fetchmail-8e4bfa7520c919ec2a7b00067c3348f0d1c73c8d.zip
Further type fixes.
Diffstat (limited to 'smtp.c')
-rw-r--r--smtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/smtp.c b/smtp.c
index ef6cdb2d..584f9ece 100644
--- a/smtp.c
+++ b/smtp.c
@@ -97,7 +97,7 @@ static void SMTP_auth(int sock, char smtp_mode, char *username, char *password,
}
if (outlevel >= O_DEBUG)
report(stdout, GT_("Challenge decoded: %s\n"), b64buf);
- hmac_md5(password, strlen(password),
+ hmac_md5((unsigned char *)password, strlen(password),
b64buf, strlen(b64buf), digest, sizeof(digest));
snprintf(tmp, sizeof(tmp),
"%s %02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x",