aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pop3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pop3.c b/pop3.c
index 41723b48..cbbe7f75 100644
--- a/pop3.c
+++ b/pop3.c
@@ -232,7 +232,7 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting)
}
#ifdef SSL_ENABLE
- if (has_ssl &&
+ if (has_ssl && !ctl->use_ssl &&
#if INET6_ENABLE
ctl->server.service && (strcmp(ctl->server.service, "pop3s"))
#else /* INET6_ENABLE */