Changeset

1481:6401460891b2

util.hmac: Fix a global set
author Matthew Wild <mwild1@gmail.com>
date Sun, 05 Jul 2009 17:06:22 +0100
parents 1480:93d3295fb064
children 1482:9734231a569f
files util/hmac.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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