From: Timo Sirainen Date: Wed, 5 Feb 2025 09:57:10 +0000 (+0200) Subject: auth: Change hardcoded 3 to AUTH_CLIENT_MINOR_VERSION_CHANNEL_BINDING X-Git-Tag: 2.4.1~242 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2387c595dbadb1d4249b5c3f1e929594fb8faa08;p=thirdparty%2Fdovecot%2Fcore.git auth: Change hardcoded 3 to AUTH_CLIENT_MINOR_VERSION_CHANNEL_BINDING --- diff --git a/src/auth/auth-client-connection.c b/src/auth/auth-client-connection.c index 99f00d4ed1..d970f64bd3 100644 --- a/src/auth/auth-client-connection.c +++ b/src/auth/auth-client-connection.c @@ -196,7 +196,7 @@ static void auth_client_finish_handshake(struct auth_client_connection *conn) mech_dovecot_token.mech_name, "\tprivate\n", NULL); } else { mechanisms = str_c(conn->auth->reg->handshake); - if (conn->conn.minor_version >= 3) { + if (conn->conn.minor_version >= AUTH_CLIENT_MINOR_VERSION_CHANNEL_BINDING) { mechanisms_cbind = str_c(conn->auth->reg->handshake_cbind); }