From 9c10d69f36fed4962354b7a38261fe47f154ba2b Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 19 Mar 2010 00:07:08 +0100 Subject: Fix MD5 compile on Solaris. --- smtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smtp.c') 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], -- cgit v1.2.3