diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-07-26 01:00:46 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-07-26 01:00:46 +0500 |
commit | 3963ffb2ce11309eb0d4906098db6aadad63f946 (patch) | |
tree | af5dd064287c83fdf42219b86c9fc6b7c11d6c96 /util/sasl/scram.lua | |
parent | 3f4c880caac77daba383a663a812177e65827fac (diff) | |
download | prosody-3963ffb2ce11309eb0d4906098db6aadad63f946.tar.gz prosody-3963ffb2ce11309eb0d4906098db6aadad63f946.zip |
util.sasl.scram: Made function Hi public.
Diffstat (limited to 'util/sasl/scram.lua')
-rw-r--r-- | util/sasl/scram.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl/scram.lua b/util/sasl/scram.lua index de848b3d..7354c8fc 100644 --- a/util/sasl/scram.lua +++ b/util/sasl/scram.lua @@ -65,7 +65,7 @@ local function binaryXOR( a, b ) 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 |