瀏覽代碼

make * not match LOGIN even in non-SSL builds

this is consistent with the plain text transmission warning below.
Oswald Buddenhagen 8 年之前
父節點
當前提交
1b235d3d46
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/drv_imap.c

+ 2 - 0
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