aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-18 10:51:56 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-18 10:51:56 +0000
commitf77a42d79e636b1c08b31a99d32d92e7aad88bda (patch)
tree9e32eb4e267890616d07fc70da22e4252b5323d4 /src/libutil/util.c
parenta1bac50090b1742f09cac1b3a1eb55b8de62ded9 (diff)
downloadrspamd-f77a42d79e636b1c08b31a99d32d92e7aad88bda.tar.gz
rspamd-f77a42d79e636b1c08b31a99d32d92e7aad88bda.zip
[Minor] More fixes for bloody openssl 1.1
Diffstat (limited to 'src/libutil/util.c')
-rw-r--r--src/libutil/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/util.c b/src/libutil/util.c
index 2538fb57a..080cbd142 100644
--- a/src/libutil/util.c
+++ b/src/libutil/util.c
@@ -2070,7 +2070,9 @@ rspamd_init_libs (void)
OPENSSL_init_ssl (0, NULL);
#endif
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
OPENSSL_config (NULL);
+#endif
if (RAND_poll () == 0) {
guchar seed[128];