aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_cfg_file.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-04 22:55:52 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-04 22:56:06 +0000
commit065f4f64f16ea0df8a34a9dd59b7f120976b783d (patch)
treed2191ed92dfb630781f2ba6fec8eb4eaacf65906 /src/lua/lua_cfg_file.c
parent74dbb0d5a50908143cc76f5cbbc9654dcfc9700d (diff)
downloadrspamd-065f4f64f16ea0df8a34a9dd59b7f120976b783d.tar.gz
rspamd-065f4f64f16ea0df8a34a9dd59b7f120976b783d.zip
[Minor] Remove unused global var
Diffstat (limited to 'src/lua/lua_cfg_file.c')
-rw-r--r--src/lua/lua_cfg_file.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lua/lua_cfg_file.c b/src/lua/lua_cfg_file.c
index b53606470..c11c7224c 100644
--- a/src/lua/lua_cfg_file.c
+++ b/src/lua/lua_cfg_file.c
@@ -256,13 +256,6 @@ rspamd_lua_check_condition (struct rspamd_config *cfg, const gchar *condition)
lua_setglobal (L, "osrelease");
#endif
-#ifdef HAVE_OPENSSL
- lua_pushboolean (L, TRUE);
-#else
- lua_pushboolean (L, FALSE);
-#endif
- lua_setglobal (L, "rspamd_supports_rsa");
-
/* Rspamd paths */
lua_newtable (L);
rspamd_lua_table_set (L, "confdir", RSPAMD_CONFDIR);