diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-08-14 23:27:23 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-08-14 23:27:23 +0000 |
commit | 221e4bda865f30ce604386b5266c564e4cd5d95e (patch) | |
tree | 4afccca00751eec7635e42e83162ae712f66e313 /pop3.c | |
parent | df4a264f6a4bf53592f9e273462a8861ea7e6a6d (diff) | |
download | fetchmail-221e4bda865f30ce604386b5266c564e4cd5d95e.tar.gz fetchmail-221e4bda865f30ce604386b5266c564e4cd5d95e.tar.bz2 fetchmail-221e4bda865f30ce604386b5266c564e4cd5d95e.zip |
Add IMAP AUTH=EXTERNAL support. BerliOS Patch #1095.
Courtesy of Götz 'nimrill' Babin-Ebell.
This patch also makes --sslproto arguments case insensitive.
svn path=/branches/BRANCH_6-3/; revision=4896
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -441,7 +441,7 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting) #ifdef SSL_ENABLE if (has_ssl && !ctl->use_ssl - && (!ctl->sslproto || !strcmp(ctl->sslproto,"tls1"))) + && (!ctl->sslproto || !strcasecmp(ctl->sslproto,"tls1"))) { char *realhost; @@ -453,7 +453,7 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting) if (ok == PS_SUCCESS && SSLOpen(sock,ctl->sslcert,ctl->sslkey,"tls1",ctl->sslcertck, ctl->sslcertpath,ctl->sslfingerprint, - realhost,ctl->server.pollname) == -1) + realhost,ctl->server.pollname,&ctl->remotename) == -1) { if (!ctl->sslproto && !ctl->wehaveauthed) { |