From b156f013c4c68996981dc876d5edcf140e33eb00 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 16 Mar 2023 13:52:22 +0100 Subject: util.sasl.scram: Fix off-by-one indentation --- util/sasl/scram.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/sasl/scram.lua b/util/sasl/scram.lua index 4606d1fd..3a751ebc 100644 --- a/util/sasl/scram.lua +++ b/util/sasl/scram.lua @@ -112,8 +112,8 @@ local function scram_gen(hash_name, H_f, HMAC_f, get_auth_db, expect_cb) if support_channel_binding and gs2_cbind_flag == "y" then -- "y" -> client does support channel binding -- but thinks the server does not. - return "failure", "malformed-request"; - end + return "failure", "malformed-request"; + end if gs2_cbind_flag == "n" then -- "n" -> client doesn't support channel binding. -- cgit v1.2.3