aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/util.c')
-rw-r--r--src/libutil/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.c b/src/libutil/util.c
index dc9e03201..7f8272c0e 100644
--- a/src/libutil/util.c
+++ b/src/libutil/util.c
@@ -1940,7 +1940,7 @@ rspamd_init_libs (void)
struct rspamd_external_libs_ctx *ctx;
ctx = g_slice_alloc0 (sizeof (*ctx));
- rspamd_cryptobox_init ();
+ ctx->crypto_ctx = rspamd_cryptobox_init ();
ottery_init (NULL);
#ifdef HAVE_LOCALE_H