aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/dkim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c
index d126cb5bb..5052960f0 100644
--- a/src/libserver/dkim.c
+++ b/src/libserver/dkim.c
@@ -886,7 +886,7 @@ rspamd_create_dkim_context (const gchar *sig,
return NULL;
}
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
ctx->body_hash = EVP_MD_CTX_create ();
EVP_DigestInit_ex (ctx->body_hash, md_alg, NULL);
ctx->headers_hash = EVP_MD_CTX_create ();