summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-01-01 16:32:33 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2013-01-01 16:32:33 +0100
commit71efce8e068682b100cca782cf8d8c22adb1c7ff (patch)
treeb8883f97da3d42fc6d4da4ebdfb0c910d9fa79e8
parent7c17ddba9a45f93ae491c11d3baf8ca8625375f0 (diff)
downloadprivsep-71efce8e068682b100cca782cf8d8c22adb1c7ff.tar.bz2
privsep-71efce8e068682b100cca782cf8d8c22adb1c7ff.tar.xz
auth/shadow: remove debug prints
-rw-r--r--auth/shadow.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/auth/shadow.lua b/auth/shadow.lua
index 3a4a534..df0cc40 100644
--- a/auth/shadow.lua
+++ b/auth/shadow.lua
@@ -54,8 +54,6 @@ function db.verify_passwd(cleartext, pwhash)
]]--
local algo_salt, hash = string.match(pwhash, "^(%$%d%$[a-zA-Z0-9./]+%$)(.*)")
local userhash = posix.crypt(cleartext, algo_salt)
- print("user hash:", userhash)
- print("db hash:", pwhash)
return (pwhash == userhash)
end