summaryrefslogtreecommitdiff
path: root/src/BLua.cc
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-08-08 17:49:26 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-08-08 17:50:17 +0200
commitf7fa376378cb221347c679aef001b3c04b212c7b (patch)
tree005bd4f63a11187013013eee0c07a64656dfa48a /src/BLua.cc
parent29e4a0512331a36c1cde22ed26c6ae059fa20757 (diff)
Adding the rsa.lua code to lcrypt.
Diffstat (limited to 'src/BLua.cc')
-rw-r--r--src/BLua.cc2
1 files changed, 2 insertions, 0 deletions
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();
}