aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-11-16 02:28:32 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-11-16 02:28:32 +0500
commitf2ffc8c3232ab0db6c0b7ba0a385a0f3584959f6 (patch)
tree73f005548764cd8bd1868c5fce85535bfe5a9cf9 /plugins
parent2a1ed142ab393d79d0f1b3d3f00a7e58bb05afd1 (diff)
downloadprosody-f2ffc8c3232ab0db6c0b7ba0a385a0f3584959f6.tar.gz
prosody-f2ffc8c3232ab0db6c0b7ba0a385a0f3584959f6.zip
Using md5.sum rather than hashes.md5 because we don't want hexadecimal
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_saslauth.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index 35585f0b..ffeacce3 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -50,7 +50,7 @@ local function password_callback(node, host, mechanism)
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;