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
commitf84d5afe5e1ab6145b00197c0480aa081d683939 (patch)
tree193cbca5c594c1809d132d6d48a9254b3c54bacf
parent6fadbec98ecd7b9eef39b1a546b77e3130392b57 (diff)
downloadprosody-f84d5afe5e1ab6145b00197c0480aa081d683939.tar.gz
prosody-f84d5afe5e1ab6145b00197c0480aa081d683939.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