aboutsummaryrefslogtreecommitdiffstats
path: root/util/hmac.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-05 17:06:22 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-05 17:06:22 +0100
commitd9b3e413479ee848bdbc1b6b5c99b0ac6ed47b0f (patch)
treee6f01b88e21790e812ce96765adb7ebee354165d /util/hmac.lua
parentd1ee8e0f537fdc3c5b31557a021a9601544d9cd4 (diff)
downloadprosody-d9b3e413479ee848bdbc1b6b5c99b0ac6ed47b0f.tar.gz
prosody-d9b3e413479ee848bdbc1b6b5c99b0ac6ed47b0f.zip
util.hmac: Fix a global set
Diffstat (limited to 'util/hmac.lua')
-rw-r--r--util/hmac.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/hmac.lua b/util/hmac.lua
index b3098380..05376575 100644
--- a/util/hmac.lua
+++ b/util/hmac.lua
@@ -4,7 +4,7 @@ local xor = require "bit".bxor
module "hmac"
local function arraystr(array)
- t = {}
+ local t = {}
for i = 1,table.getn(array) do
table.insert(t, string.char(array[i]))
end