# HG changeset patch # User Tobias Markmann # Date 1276098904 -7200 # Node ID e416b9185c6b85fd08385913d87179341869ddd1 # Parent d69e90ffbc091d7e540551d803db28409df6a342 mod_auth_internal_hashed: Remove debugging output. diff -r d69e90ffbc09 -r e416b9185c6b plugins/mod_auth_internal_hashed.lua --- 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