commit 1b235d3d466afea7d41d60d12fb96c4a83b2671e
parent fdb03b91f2471ebc1ee715c78911c8a1085791d1
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date: Sat, 3 Dec 2016 20:00:38 +0100
make * not match LOGIN even in non-SSL builds
this is consistent with the plain text transmission warning below.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/drv_imap.c b/src/drv_imap.c
@@ -1956,6 +1956,8 @@ imap_open_store_authenticate2( imap_store_t *ctx )
if (!strcasecmp( cmech->string, "LOGIN" )) {
#ifdef HAVE_LIBSSL
if (ctx->conn.ssl || !any)
+#else
+ if (!any)
#endif
auth_login = 1;
#ifdef HAVE_LIBSASL