Software /
code /
prosody
Diff
util/sasl/scram.lua @ 3405:b1efe62c3c37
util.sasl.scram: Made function Hi public.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 26 Jul 2010 01:00:46 +0500 |
parent | 3374:ce52f1d5cb74 |
child | 3540:bc139431830b |
line wrap: on
line diff
--- a/util/sasl/scram.lua Mon Jul 26 00:59:26 2010 +0500 +++ b/util/sasl/scram.lua Mon Jul 26 01:00:46 2010 +0500 @@ -65,7 +65,7 @@ end -- hash algorithm independent Hi(PBKDF2) implementation -local function Hi(hmac, str, salt, i) +function Hi(hmac, str, salt, i) local Ust = hmac(str, salt.."\0\0\0\1"); local res = Ust; for n=1,i-1 do