From c6667a5a2aa4895596a76fc0aeb68f37a322bc44 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 18 Oct 2002 11:26:52 +0000 Subject: Sunil's patch to guard SSL use. svn path=/trunk/; revision=3740 --- pop3.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3