aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pop3.c b/pop3.c
index 123e1b81..02e38c3f 100644
--- 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.