From f7fa376378cb221347c679aef001b3c04b212c7b Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Thu, 8 Aug 2013 17:49:26 +0200 Subject: Adding the rsa.lua code to lcrypt. --- src/BLua.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/BLua.cc') diff --git a/src/BLua.cc b/src/BLua.cc index 22252d4..4b34108 100644 --- a/src/BLua.cc +++ b/src/BLua.cc @@ -440,11 +440,13 @@ void Balau::Lua::open_bit() { extern "C" { int luaopen_lcrypt(lua_State *L); +extern const char * lcrypt_rsa; } void Balau::Lua::open_lcrypt() { int n = gettop(); luaopen_lcrypt(L); + load(lcrypt_rsa); while (n < gettop()) pop(); } -- cgit v1.2.3