aboutsummaryrefslogtreecommitdiffstats
path: root/transact.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 /transact.c
parent8e4bfa7520c919ec2a7b00067c3348f0d1c73c8d (diff)
downloadfetchmail-9c10d69f36fed4962354b7a38261fe47f154ba2b.tar.gz
fetchmail-9c10d69f36fed4962354b7a38261fe47f154ba2b.tar.bz2
fetchmail-9c10d69f36fed4962354b7a38261fe47f154ba2b.zip
Fix MD5 compile on Solaris.
Diffstat (limited to 'transact.c')
-rw-r--r--transact.c2
1 files changed, 1 insertions, 1 deletions
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)