Skip to content

Commit

Permalink
chore: openssl_newvalue
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaozg committed Mar 5, 2024
1 parent 2ed4165 commit 8adbe13
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,10 @@ int openssl_newvalue(lua_State*L,const void*p)
lua_rawgetp(L, LUA_REGISTRYINDEX, p);
if (lua_isnil(L, -1))
{
lua_pop(L, 1);
lua_newtable(L);
lua_rawsetp(L, LUA_REGISTRYINDEX, p);
}
else
{

lua_pop(L, 1);
}
lua_pop(L, 1);
return 0;
}

Expand Down

0 comments on commit 8adbe13

Please sign in to comment.