diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-11-01 23:06:04 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-11-01 23:06:04 +0000 |
commit | 983bd40c04cffdf4f9715ae8ba803007a5ed3640 (patch) | |
tree | 7a14196bfbdb5ba9ae36bb3fd835970c6aaac851 /pop2.c | |
parent | 78a6bed18346b084aefe9569faf7464082720df1 (diff) | |
download | fetchmail-983bd40c04cffdf4f9715ae8ba803007a5ed3640.tar.gz fetchmail-983bd40c04cffdf4f9715ae8ba803007a5ed3640.tar.bz2 fetchmail-983bd40c04cffdf4f9715ae8ba803007a5ed3640.zip |
Snapshot 6.3.6-rc1.
svn path=/branches/BRANCH_6-3/; revision=4925
Diffstat (limited to 'pop2.c')
-rw-r--r-- | pop2.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -17,6 +17,7 @@ #endif #include "fetchmail.h" #include "socket.h" +#include "i18n.h" static int pound_arg, equal_arg; @@ -60,6 +61,11 @@ static int pop2_getauth(int sock, struct query *ctl, char *buf) int status; (void)buf; + if (ctl->sslproto && !strcasecmp(ctl->sslproto, "tls1") && !ctl->use_ssl) + { + report(stderr, GT_("POP2 does not support STARTTLS. Giving up.\n")); + return PS_SOCKET; + } strlcpy(shroud, ctl->password, sizeof(shroud)); status = gen_transact(sock, "HELO %s %s", |