summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-07 16:53:45 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-07 16:53:45 +0000
commite97b0030beff8ab1eb995f5638b689e5c468bb55 (patch)
tree6acf7380b725b129f1cc3abcccec3b780dffcfb0 /src/main.c
parente4a1bd5b031e418a3c593c25cda5dc7996564ee7 (diff)
downloadrspamd-e97b0030beff8ab1eb995f5638b689e5c468bb55.tar.gz
rspamd-e97b0030beff8ab1eb995f5638b689e5c468bb55.zip
Init cryptobox library properly.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 35bec6f2b..f09ec3270 100644
--- a/src/main.c
+++ b/src/main.c
@@ -35,6 +35,7 @@
#include "xxhash.h"
#include "utlist.h"
#include "libstat/stat_api.h"
+#include "cryptobox.h"
#ifdef HAVE_OPENSSL
#include <openssl/rand.h>
#include <openssl/err.h>
@@ -1139,6 +1140,8 @@ rspamd_init_libs (void)
struct rlimit rlim;
ottery_init (NULL);
+
+ rspamd_cryptobox_init ();
#ifdef HAVE_SETLOCALE
/* Set locale setting to C locale to avoid problems in future */
setlocale (LC_ALL, "C");