Software / code / prosody
Changeset
3212:e416b9185c6b
mod_auth_internal_hashed: Remove debugging output.
| author | Tobias Markmann <tm@ayena.de> |
|---|---|
| date | Wed, 09 Jun 2010 17:55:04 +0200 |
| parents | 3211:d69e90ffbc09 |
| children | 3213:c85bba8bd41a |
| files | plugins/mod_auth_internal_hashed.lua |
| diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_auth_internal_hashed.lua Wed Jun 09 17:54:34 2010 +0200 +++ b/plugins/mod_auth_internal_hashed.lua Wed Jun 09 17:55:04 2010 +0200 @@ -64,7 +64,6 @@ if credentials.hashpass then valid = true; local salted_password = credentials.hashpass:gsub("..", function(x) return string.char(tonumber(x, 16)); end); - log("debug", "salted_password in bin: %s", tostring(salted_password)); credentials.stored_key = sha1(hmac_sha1(salted_password, "Client Key")):gsub(".", function (c) return ("%02x"):format(c:byte()); end); credentials.server_key = hmac_sha1(salted_password, "Server Key"):gsub(".", function (c) return ("%02x"):format(c:byte()); end); end