Changeset

12941:e77c607e8da8

util.sasl.scram: Fix off-by-one indentation
author Kim Alvefur <zash@zash.se>
date Thu, 16 Mar 2023 13:52:22 +0100
parents 12940:2aebd9bf02fc
children 12942:54756e3a54b9
files util/sasl/scram.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/util/sasl/scram.lua	Thu Mar 16 13:45:49 2023 +0100
+++ b/util/sasl/scram.lua	Thu Mar 16 13:52:22 2023 +0100
@@ -112,8 +112,8 @@
 			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.