diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | driver.c | 2 | ||||
-rw-r--r-- | imap.c | 2 | ||||
-rw-r--r-- | pop3.c | 2 |
4 files changed, 5 insertions, 3 deletions
@@ -207,6 +207,8 @@ fetchmail 6.3.0 (not yet released officially): Bug#329342, Takeshi Hamasaki. (MA) * When getaddrinfo() fails resolving a service, log getaddrinfo() error. (MA) * Fix bogus "cannot resolve service * to port number" error. Simon Barner. (MA) +* Failure to set up SSL connections now results in PS_SOCKET. Suggested by + Thomas Wolff. Matthias Andree. # INTERNAL CHANGES * Switched to automake. Matthias Andree. @@ -1097,7 +1097,7 @@ static int do_session( ctl->sslcertpath,ctl->sslfingerprint,realhost,ctl->server.pollname) == -1) { report(stderr, GT_("SSL connection failed.\n")); - err = PS_AUTHFAIL; + err = PS_SOCKET; goto cleanUp; } @@ -367,7 +367,7 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting) } report(stderr, GT_("SSL connection failed.\n")); - return(PS_AUTHFAIL); + return PS_SOCKET; } did_stls = TRUE; @@ -418,7 +418,7 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting) } report(stderr, GT_("SSL connection failed.\n")); - return(PS_AUTHFAIL); + return PS_SOCKET; } did_stls = TRUE; |