Comparison

util/sasl.lua @ 2190:9657276387af sasl

Change of the digest-md5 profile.
author Tobias Markmann <tm@ayena.de>
date Fri, 13 Nov 2009 11:21:21 +0100
parent 2188:1fd38975addd
child 2191:e79c0ce6cf54
comparison
equal deleted inserted replaced
2189:1182e7ae2964 2190:9657276387af
53 function(username, realm, password) 53 function(username, realm, password)
54 return true or false, state; 54 return true or false, state;
55 end 55 end
56 56
57 digest-md5: 57 digest-md5:
58 function(username, realm, encoding) 58 function(username, domain, realm, encoding) -- domain and realm are usually the same; for some broken
59 -- implementations it's not
59 return digesthash, state; 60 return digesthash, state;
60 end 61 end
61 62
62 digest-md5-test: 63 digest-md5-test:
63 function(username, realm, encoding, digesthash) 64 function(username, realm, encoding, digesthash)