plugins/mod_saslauth.lua

changeset 296
21835c4fc34f
parent 295
bb078eb1f1de
child 297
15b375870b40
--- 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;

mercurial