]> Pileus Git - ~andy/fetchmail/commitdiff
STLS fix.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 3 Jun 2002 01:15:20 +0000 (01:15 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 3 Jun 2002 01:15:20 +0000 (01:15 -0000)
svn path=/trunk/; revision=3621

pop3.c

diff --git a/pop3.c b/pop3.c
index 41723b484523c199df78f5b9d3d20edeb7a4ebd0..cbbe7f75e80cea85f02c74b6ae3ad4862bee5b82 100644 (file)
--- 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 */