Mercurial > prosody-hg
diff util/sasl/scram.lua @ 3103:87cf90ca8923
util.sasl.scram: Split up long line.
| author | Tobias Markmann <tm@ayena.de> |
|---|---|
| date | Sat, 22 May 2010 14:58:24 +0200 |
| parents | 5cd408e36359 |
| children | 32150b4a8603 |
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
