*/
gboolean rspamd_config_libs (struct rspamd_external_libs_ctx *ctx,
struct rspamd_config *cfg);
+void rspamd_openssl_maybe_init (void);
#define msg_err_config(...) rspamd_default_log_function (G_LOG_LEVEL_CRITICAL, \
cfg->cfg_pool->tag.tagname, cfg->checksum, \
#undef SET_EFFECTIVE
}
-static void
+void
rspamd_openssl_maybe_init (void)
{
static gboolean openssl_initialized = FALSE;
if (cfg->local_addrs) {
rspamd_config_radix_from_ucl (cfg, cfg->local_addrs,
"Local addresses",
- ctx->local_addrs,
+ (struct rspamd_radix_map_helper **)ctx->local_addrs,
NULL,
NULL);
}