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. --- transact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'transact.c') diff --git a/transact.c b/transact.c index 5e93c6ca..93962526 100644 --- a/transact.c +++ b/transact.c @@ -983,7 +983,7 @@ process_headers: MD5_CTX context; MD5Init(&context); - MD5Update(&context, msgblk.headers, strlen(msgblk.headers)); + MD5Update(&context, (unsigned char *)msgblk.headers, strlen(msgblk.headers)); MD5Final(ctl->digest, &context); if (!received_for && env_offs == -1 && !delivered_to) -- cgit v1.2.3