aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2010-05-22 14:58:24 +0200
committerTobias Markmann <tm@ayena.de>2010-05-22 14:58:24 +0200
commit47c7c633170ae0d947a7f22e720f1868fec63332 (patch)
tree93392390b0d2d762ccbf69f48ed12baa5a54e152
parent621f91d4a67b07ad89853e2197fc9a62302a75fd (diff)
downloadprosody-47c7c633170ae0d947a7f22e720f1868fec63332.tar.gz
prosody-47c7c633170ae0d947a7f22e720f1868fec63332.zip
util.sasl.scram: Split up long line.
-rw-r--r--util/sasl/scram.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/sasl/scram.lua b/util/sasl/scram.lua
index 0188d5cf..13b9932f 100644
--- a/util/sasl/scram.lua
+++ b/util/sasl/scram.lua
@@ -102,7 +102,8 @@ local function scram_gen(hash_name, H_f, HMAC_f)
-- TODO: fail if authzid is provided, since we don't support them yet
self.state["client_first_message"] = client_first_message;
- self.state["gs2_cbind_flag"], self.state["authzid"], self.state["name"], self.state["clientnonce"] = client_first_message:match("^(%a),(.*),n=(.*),r=([^,]*).*");
+ self.state["gs2_cbind_flag"], self.state["authzid"], self.state["name"], self.state["clientnonce"]
+ = client_first_message:match("^(%a),(.*),n=(.*),r=([^,]*).*");
-- we don't do any channel binding yet
if self.state.gs2_cbind_flag ~= "n" and self.state.gs2_cbind_flag ~= "y" then