Changeset

3405:b1efe62c3c37

util.sasl.scram: Made function Hi public.
author Waqas Hussain <waqas20@gmail.com>
date Mon, 26 Jul 2010 01:00:46 +0500
parents 3404:33c81ee280e3
children 3406:748246005893
files util/sasl/scram.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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