aboutsummaryrefslogtreecommitdiffstats
path: root/smtp.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-03-19 00:07:08 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-03-19 00:07:08 +0100
commit9c10d69f36fed4962354b7a38261fe47f154ba2b (patch)
tree0cbbab94f893644ca88438c361025733dd917bbd /smtp.c
parent8e4bfa7520c919ec2a7b00067c3348f0d1c73c8d (diff)
downloadfetchmail-9c10d69f36fed4962354b7a38261fe47f154ba2b.tar.gz
fetchmail-9c10d69f36fed4962354b7a38261fe47f154ba2b.tar.bz2
fetchmail-9c10d69f36fed4962354b7a38261fe47f154ba2b.zip
Fix MD5 compile on Solaris.
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 584f9ece..611bad07 100644
--- a/smtp.c
+++ b/smtp.c
@@ -98,7 +98,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((unsigned char *)password, strlen(password),
- b64buf, strlen(b64buf), digest, sizeof(digest));
+ (unsigned char *)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",
username, digest[0], digest[1], digest[2], digest[3],