From 8e4bfa7520c919ec2a7b00067c3348f0d1c73c8d Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Thu, 18 Mar 2010 23:29:22 +0100 Subject: Further type fixes. --- smtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smtp.c') 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", -- cgit v1.2.3