]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-login: Remove LOGIN_REQUEST_FLAG_CONN_SECURED
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 4 Nov 2022 20:39:34 +0000 (22:39 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 16 Nov 2022 08:09:54 +0000 (08:09 +0000)
src/lib-login/login-interface.h
src/login-common/sasl-server.c

index f585d68d3cca23a4395438cf24dcc6bae9a9bab1..d01b33204cac684c2376c76646b930ffa6c769a2 100644 (file)
@@ -19,8 +19,6 @@
 enum login_request_flags {
        /* Connection has TLS compression enabled */
        LOGIN_REQUEST_FLAG_TLS_COMPRESSION      = BIT(0),
-       /* Connection is secure (SSL or just trusted) */
-       LOGIN_REQUEST_FLAG_CONN_SECURED         = BIT(1),
        /* Connection is secured using SSL specifically */
        LOGIN_REQUEST_FLAG_CONN_SSL_SECURED     = BIT(2),
        /* This login is implicit; no command reply is expected */
index fa5748b13a1ec9d027963803293fe6f8bac9ac0a..e09a16fd34bac6197b85487891784e08fe65d5d0 100644 (file)
@@ -181,8 +181,6 @@ static int master_send_request(struct anvil_request *anvil_request)
        if (client->ssl_iostream != NULL &&
            ssl_iostream_get_compression(client->ssl_iostream) != NULL)
                req.flags |= LOGIN_REQUEST_FLAG_TLS_COMPRESSION;
-       if (client->connection_secured)
-               req.flags |= LOGIN_REQUEST_FLAG_CONN_SECURED;
        if (client->end_client_tls_secured)
                req.flags |= LOGIN_REQUEST_FLAG_CONN_SSL_SECURED;
        if (HAS_ALL_BITS(client->auth_flags, SASL_SERVER_AUTH_FLAG_IMPLICIT))