mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.sasl.scram: Fix off-by-one indentation
This commit is contained in:
parent
2331fc8b65
commit
b156f013c4
1 changed files with 2 additions and 2 deletions
|
@ -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
|
if support_channel_binding and gs2_cbind_flag == "y" then
|
||||||
-- "y" -> client does support channel binding
|
-- "y" -> client does support channel binding
|
||||||
-- but thinks the server does not.
|
-- but thinks the server does not.
|
||||||
return "failure", "malformed-request";
|
return "failure", "malformed-request";
|
||||||
end
|
end
|
||||||
|
|
||||||
if gs2_cbind_flag == "n" then
|
if gs2_cbind_flag == "n" then
|
||||||
-- "n" -> client doesn't support channel binding.
|
-- "n" -> client doesn't support channel binding.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue