From: Aki Tuomi Date: Tue, 27 Mar 2018 13:12:46 +0000 (+0300) Subject: login-common: Indicate TLS secured transport on proxied TLS too X-Git-Tag: 2.3.9~2052 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58ae09c4b25a58c3b30df86422a3bc7fd46fd33e;p=thirdparty%2Fdovecot%2Fcore.git login-common: Indicate TLS secured transport on proxied TLS too --- diff --git a/src/login-common/sasl-server.c b/src/login-common/sasl-server.c index ea6a995197..c8c2f5107e 100644 --- a/src/login-common/sasl-server.c +++ b/src/login-common/sasl-server.c @@ -68,7 +68,7 @@ client_get_auth_flags(struct client *client) if (client->ssl_iostream != NULL && ssl_iostream_has_valid_client_cert(client->ssl_iostream)) auth_flags |= AUTH_REQUEST_FLAG_VALID_CLIENT_CERT; - if (client->tls) + if (client->tls || client->proxied_ssl) auth_flags |= AUTH_REQUEST_FLAG_TRANSPORT_SECURITY_TLS; if (client->secured) auth_flags |= AUTH_REQUEST_FLAG_SECURED;