diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-08 14:33:31 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-08 14:33:31 +0000 |
commit | 6f79b02003ac372ac635f7dc9b19e3bdd0573545 (patch) | |
tree | 2408fda5dc29da73812bcc5c32e34c174eff60a1 | |
parent | effc0d99dbb012b36cf0541da106b3975ec68d42 (diff) | |
download | rspamd-6f79b02003ac372ac635f7dc9b19e3bdd0573545.tar.gz rspamd-6f79b02003ac372ac635f7dc9b19e3bdd0573545.zip |
[Fix] Initialize lua cryptobox module
-rw-r--r-- | src/lua/lua_common.c | 1 | ||||
-rw-r--r-- | src/lua/lua_common.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c index 1d78aa73f..d2e64ad6a 100644 --- a/src/lua/lua_common.c +++ b/src/lua/lua_common.c @@ -239,6 +239,7 @@ rspamd_lua_init () luaopen_html (L); luaopen_fann (L); luaopen_sqlite3 (L); + luaopen_cryptobox (L); rspamd_lua_add_preload (L, "ucl", luaopen_ucl); diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h index d39f42793..ed284ff5b 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -225,6 +225,7 @@ void luaopen_tcp (lua_State * L); void luaopen_html (lua_State * L); void luaopen_fann (lua_State *L); void luaopen_sqlite3 (lua_State *L); +void luaopen_cryptobox (lua_State *L); gint rspamd_lua_call_filter (const gchar *function, struct rspamd_task *task); gint rspamd_lua_call_chain_filter (const gchar *function, |