# HG changeset patch # User Waqas Hussain # Date 1280088046 -18000 # Node ID b1efe62c3c379285b8ef637c7f5555ab2695a6b7 # Parent 33c81ee280e306f4cc6d895dbdd8e7de473b814a util.sasl.scram: Made function Hi public. diff -r 33c81ee280e3 -r b1efe62c3c37 util/sasl/scram.lua --- 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