lua-hooks/ext/all.c in immunio-1.0.1 vs lua-hooks/ext/all.c in immunio-1.0.2

- old
+ new

@@ -13,10 +13,11 @@ #include "libinjection/lualib.c" #include "luautf8/lutf8lib.c" #include "lpeg/lptree.c" #include "lua-cmsgpack/lua_cmsgpack.c" #include "lua-snapshot/snapshot.c" +#include "sha1/luasha1.c" static const luaL_Reg lj_lib_load[] = { // Default Lua modules // // SECURITY NOTE: @@ -40,9 +41,10 @@ {"libinjection", luaopen_libinjection}, {"utf8", luaopen_utf8}, {"lpeg", luaopen_lpeg}, {LUACMSGPACK_NAME, luaopen_cmsgpack}, {"snapshot", luaopen_snapshot}, + {"sha1", luaopen_sha1}, { NULL, NULL } }; // In unsafe mode define these as NOPs when we build a .so