aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pop3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pop3.c b/pop3.c
index e9ffbbaa..8fd07d11 100644
--- a/pop3.c
+++ b/pop3.c
@@ -247,7 +247,9 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting)
}
#ifdef SSL_ENABLE
- if (has_ssl && !ctl->use_ssl)
+ if (has_ssl
+ && !ctl->use_ssl
+ && (ctl->server.authenticate == A_ANY))
{
char *realhost;