diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2007-03-02 00:36:00 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2007-03-02 00:36:00 +0000 |
commit | 55d0b2fbac078f4295069f23a42567118b8907e0 (patch) | |
tree | ab9ed1a2f112e7dfb83acdfb94ce2c7831244b37 /pop3.c | |
parent | 293c3ad71c5964d77afd3dcd41f5bd0cc1c7b5d7 (diff) | |
download | fetchmail-55d0b2fbac078f4295069f23a42567118b8907e0.tar.gz fetchmail-55d0b2fbac078f4295069f23a42567118b8907e0.tar.bz2 fetchmail-55d0b2fbac078f4295069f23a42567118b8907e0.zip |
Repoll immediately if a protocol error happens during the authentication
attempt after a failed opportunistic TLS upgrade. Gentoo Bug #163782 comment
#9, reported by Takuto Matsuu.
svn path=/branches/BRANCH_6-3/; revision=5044
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -686,7 +686,8 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting) #ifdef SSL_ENABLE /* this is for servers which claim to support TLS, but actually * don't! */ - if (connection_may_have_tls_errors && ok == PS_SOCKET) + if (connection_may_have_tls_errors + && (ok == PS_SOCKET || ok == PS_PROTOCOL)) { xfree(ctl->sslproto); ctl->sslproto = xstrdup(""); |