aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-04-18 16:54:33 +0200
committerMatthias Andree <matthias.andree@gmx.de>2010-04-18 18:06:34 +0200
commit254464339ec2b164905be726922649ad9672bd83 (patch)
tree82838324f49496034ca8380b6eae251bb7255570 /pop3.c
parentd73d7527142850442b16883628de5e87f99a57ea (diff)
downloadfetchmail-254464339ec2b164905be726922649ad9672bd83.tar.gz
fetchmail-254464339ec2b164905be726922649ad9672bd83.tar.bz2
fetchmail-254464339ec2b164905be726922649ad9672bd83.zip
Fix MD5Digest prototype and remove unneeded type casts.
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pop3.c b/pop3.c
index 90d91bf2..abd690e8 100644
--- a/pop3.c
+++ b/pop3.c
@@ -690,7 +690,7 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting)
msg = (char *)xmalloc((end-start+1) + strlen(ctl->password) + 1);
strcpy(msg,start);
strcat(msg,ctl->password);
- strcpy((char *)ctl->digest, (char *)MD5Digest((unsigned char *)msg));
+ strcpy((char *)ctl->digest, MD5Digest((unsigned char *)msg));
free(msg);
ok = gen_transact(sock, "APOP %s %s", ctl->remotename, ctl->digest);