From 480fa4dd0a6e7a3e0b5013996d01c8f0f885817a Mon Sep 17 00:00:00 2001 From: Tobias Markmann Date: Wed, 9 Jun 2010 17:55:04 +0200 Subject: mod_auth_internal_hashed: Remove debugging output. --- plugins/mod_auth_internal_hashed.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins/mod_auth_internal_hashed.lua') diff --git a/plugins/mod_auth_internal_hashed.lua b/plugins/mod_auth_internal_hashed.lua index 854138e8..9025ab2e 100644 --- a/plugins/mod_auth_internal_hashed.lua +++ b/plugins/mod_auth_internal_hashed.lua @@ -64,7 +64,6 @@ function new_hashpass_provider(host) 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 -- cgit v1.2.3