Update lua-argon2 for cosmopolitan/redbean

This commit is contained in:
Paul Kulchenko 2021-09-15 18:17:35 -07:00 committed by Justine Tunney
parent b51db9f923
commit 42aafc847e
3 changed files with 16 additions and 6 deletions

View file

@ -5421,9 +5421,16 @@ static const luaL_Reg kLuaFuncs[] = {
extern int luaopen_lsqlite3(lua_State *);
#ifndef UNSECURE
extern int luaopen_argon2(lua_State *);
#endif
static const luaL_Reg kLuaLibs[] = {
{"re", LuaRe}, //
{"lsqlite3", luaopen_lsqlite3}, //
#ifndef UNSECURE
{"argon2", luaopen_argon2}, //
#endif
};
static void LuaSetArgv(lua_State *L) {