From 1b235d3d466afea7d41d60d12fb96c4a83b2671e Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sat, 3 Dec 2016 20:00:38 +0100 Subject: [PATCH] make * not match LOGIN even in non-SSL builds this is consistent with the plain text transmission warning below. --- src/drv_imap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drv_imap.c b/src/drv_imap.c index 9d7c824..e91ca36 100644 --- 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