Comparison

util/sasl/scram.lua @ 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
parent 12596:78f874441e21
child 12945:d2c1c327a4d1
comparison
equal deleted inserted replaced
12940:2aebd9bf02fc 12941:e77c607e8da8
110 end 110 end
111 111
112 if support_channel_binding and gs2_cbind_flag == "y" then 112 if support_channel_binding and gs2_cbind_flag == "y" then
113 -- "y" -> client does support channel binding 113 -- "y" -> client does support channel binding
114 -- but thinks the server does not. 114 -- but thinks the server does not.
115 return "failure", "malformed-request"; 115 return "failure", "malformed-request";
116 end 116 end
117 117
118 if gs2_cbind_flag == "n" then 118 if gs2_cbind_flag == "n" then
119 -- "n" -> client doesn't support channel binding. 119 -- "n" -> client doesn't support channel binding.
120 if expect_cb then 120 if expect_cb then
121 log("debug", "Client unexpectedly doesn't support channel binding"); 121 log("debug", "Client unexpectedly doesn't support channel binding");