util/sasl.lua

branch
sasl
changeset 2186
9657276387af
parent 2184
1fd38975addd
child 2187
e79c0ce6cf54
equal deleted inserted replaced
2185:1182e7ae2964 2186: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)

mercurial