aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-29 10:08:04 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-29 10:08:04 +0000
commit609caa681b8d0cf9e58cb2824323d5fe04af6934 (patch)
tree819d89bad734b3978168aac817a5e385e05516e7 /src/libutil/util.c
parente273f67fdfd1cfeb4b1db7d6d8160b9b0c90df98 (diff)
downloadrspamd-609caa681b8d0cf9e58cb2824323d5fe04af6934.tar.gz
rspamd-609caa681b8d0cf9e58cb2824323d5fe04af6934.zip
Add detection for RDRAND support
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