X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/b18948fd92623d0fc62ce497fe8100a41d3b1e49..2d2f7d1948f655b32031fc06f83d530c0c30c85b:/client/scripting.c diff --git a/client/scripting.c b/client/scripting.c index b979b652..7ac78394 100644 --- a/client/scripting.c +++ b/client/scripting.c @@ -16,7 +16,6 @@ #include "cmdmain.h" #include "scripting.h" #include "util.h" -#include "ui.h" #include "nonce2key/nonce2key.h" #include "../common/iso15693tools.h" #include "../common/crc16.h" @@ -347,7 +346,6 @@ static int l_aes128encrypt_ecb(lua_State *L) return 1;// return 1 to signal one return value } - static int l_crc16(lua_State *L) { size_t size; @@ -380,8 +378,8 @@ static int l_crc64(lua_State *L) return 1; } -static int l_sha1(lua_State *L){ - +static int l_sha1(lua_State *L) +{ size_t size; const char *p_str = luaL_checklstring(L, 1, &size); unsigned char outdata[20] = {0x00};