Software /
code /
prosody
Diff
util/sasl/scram.lua @ 3078:22c22f8a6eb8
util.sasl.scram: Split up long line.
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Sat, 22 May 2010 14:58:24 +0200 |
parent | 3077:3ee311f21d54 |
child | 3079:e144a4989e70 |
line wrap: on
line diff
--- a/util/sasl/scram.lua Sat May 22 14:47:21 2010 +0200 +++ b/util/sasl/scram.lua Sat May 22 14:58:24 2010 +0200 @@ -102,7 +102,8 @@ -- 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