make * not match LOGIN even in non-SSL builds
this is consistent with the plain text transmission warning below.
This commit is contained in:
parent
fdb03b91f2
commit
1b235d3d46
|
@ -1956,6 +1956,8 @@ imap_open_store_authenticate2( imap_store_t *ctx )
|
||||||
if (!strcasecmp( cmech->string, "LOGIN" )) {
|
if (!strcasecmp( cmech->string, "LOGIN" )) {
|
||||||
#ifdef HAVE_LIBSSL
|
#ifdef HAVE_LIBSSL
|
||||||
if (ctx->conn.ssl || !any)
|
if (ctx->conn.ssl || !any)
|
||||||
|
#else
|
||||||
|
if (!any)
|
||||||
#endif
|
#endif
|
||||||
auth_login = 1;
|
auth_login = 1;
|
||||||
#ifdef HAVE_LIBSASL
|
#ifdef HAVE_LIBSASL
|
||||||
|
|
Loading…
Reference in New Issue
Block a user