Sun, 16 Nov 2008 02:28:32 +0500
Using md5.sum rather than hashes.md5 because we don't want hexadecimal
plugins/mod_saslauth.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_saslauth.lua Sun Nov 16 02:27:22 2008 +0500 +++ b/plugins/mod_saslauth.lua Sun Nov 16 02:28:32 2008 +0500 @@ -50,7 +50,7 @@ if mechanism == "PLAIN" then return func, password; elseif mechanism == "DIGEST-MD5" then - return func, require "hashes".md5(node..":"..host..":"..password); + return func, require "md5".sum(node..":"..host..":"..password); end end return func, nil;