From 254464339ec2b164905be726922649ad9672bd83 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 18 Apr 2010 16:54:33 +0200 Subject: Fix MD5Digest prototype and remove unneeded type casts. --- pop3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pop3.c') 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); -- cgit v1.2.3