From: Timo Sirainen Date: Tue, 27 May 2003 21:46:44 +0000 (+0300) Subject: STLS was missing from capability list. X-Git-Tag: 1.1.alpha1~4598 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59678f0d3af684aeeb8e46cf554db4ccf109ba7d;p=thirdparty%2Fdovecot%2Fcore.git STLS was missing from capability list. --HG-- branch : HEAD --- diff --git a/src/pop3-login/client-authenticate.c b/src/pop3-login/client-authenticate.c index ba935c0641..445134a37d 100644 --- a/src/pop3-login/client-authenticate.c +++ b/src/pop3-login/client-authenticate.c @@ -15,6 +15,7 @@ #include "auth-common.h" #include "client.h" #include "client-authenticate.h" +#include "ssl-proxy.h" static enum auth_mech auth_mechs = 0; static char *auth_mechs_capability = NULL; @@ -45,6 +46,7 @@ int cmd_capa(struct pop3_client *client, const char *args __attr_unused__) } client_send_line(client, t_strconcat("+OK\r\n" POP3_CAPABILITY_REPLY, + ssl_initialized ? "STLS\r\n" : "", auth_mechs_capability, "\r\n.", NULL)); return TRUE;