aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl/scram.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-07-26 01:00:46 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-07-26 01:00:46 +0500
commit3963ffb2ce11309eb0d4906098db6aadad63f946 (patch)
treeaf5dd064287c83fdf42219b86c9fc6b7c11d6c96 /util/sasl/scram.lua
parent3f4c880caac77daba383a663a812177e65827fac (diff)
downloadprosody-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.lua2
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