]> Pileus Git - ~andy/fetchmail/commitdiff
Support A_SSH authentication.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 28 Feb 2003 20:58:32 +0000 (20:58 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 28 Feb 2003 20:58:32 +0000 (20:58 -0000)
svn path=/trunk/; revision=3800

pop3.c

diff --git a/pop3.c b/pop3.c
index 123e1b81ef03ca256deb4b7fdd29a86650a1604f..02e38c3f3a8b7221406a6a4ead00a668d6bff206 100644 (file)
--- a/pop3.c
+++ b/pop3.c
@@ -192,6 +192,10 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting)
     flag did_stls = FALSE;
 #endif /* SSL_ENABLE */
 
+    if (ctl->server.authenticate == A_SSH) {
+        return PS_SUCCESS;
+    }
+
 #ifdef SDPS_ENABLE
     /*
      * This needs to catch both demon.co.uk and demon.net.