Diff

util/hmac.lua @ 1481:6401460891b2

util.hmac: Fix a global set
author Matthew Wild <mwild1@gmail.com>
date Sun, 05 Jul 2009 17:06:22 +0100
parent 1456:3135cf40110d
child 1482:9734231a569f
line wrap: on
line diff
--- a/util/hmac.lua	Sun Jul 05 20:40:31 2009 +0500
+++ b/util/hmac.lua	Sun Jul 05 17:06:22 2009 +0100
@@ -4,7 +4,7 @@
 module "hmac"
 
 local function arraystr(array)
-    t = {}
+    local t = {}
     for i = 1,table.getn(array) do
         table.insert(t, string.char(array[i]))
     end