lua-hooks/ext/all.c in immunio-1.0.12 vs lua-hooks/ext/all.c in immunio-1.0.13

- old
+ new

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