From 8977988fb6426720e80c856f7caa1f5211244429 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 15 Jan 2016 21:47:32 +0100 Subject: [PATCH] FIX: forgot a lua object for the call to ConvertAsciiToHex. Thanks @romaric for finding it. --- client/scripts/tnp3dump.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/scripts/tnp3dump.lua b/client/scripts/tnp3dump.lua index 44e59657..f3d377f7 100644 --- a/client/scripts/tnp3dump.lua +++ b/client/scripts/tnp3dump.lua @@ -216,7 +216,7 @@ local function main(args) local baseStr = utils.ConvertHexToAscii(tmpHash:format(blockNo)) local key = md5.sumhexa(baseStr) local aestest = core.aes128_decrypt(key, blockdata) - local hex = ConvertAsciiToHex(aestest) + local hex = utils.ConvertAsciiToHex(aestest) blocks[blockNo+1] = ('%02d :: %s'):format(blockNo,hex) io.write(blockNo..',') -- 2.39.5