diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-04-18 16:54:33 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-04-18 18:06:34 +0200 |
commit | 254464339ec2b164905be726922649ad9672bd83 (patch) | |
tree | 82838324f49496034ca8380b6eae251bb7255570 /pop3.c | |
parent | d73d7527142850442b16883628de5e87f99a57ea (diff) | |
download | fetchmail-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |