diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-30 22:00:32 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-30 22:00:32 +0100 |
commit | 5cda7efaff4db73310a2eb03fd0da3318252d1bb (patch) | |
tree | 2d24cd573369bc14d76db65efac4aaa8c9b1559a | |
parent | 07483bda3b8e29d99c4a70bca70fa1f08c0a574b (diff) | |
parent | 3d048db398f3f1f9de10ad04ef249282020f6ffd (diff) | |
download | rspamd-5cda7efaff4db73310a2eb03fd0da3318252d1bb.tar.gz rspamd-5cda7efaff4db73310a2eb03fd0da3318252d1bb.zip |
Merge pull request #614 from Sp1l/patch-1
Fix build with unmodified LibreSSL opensslv.h
-rw-r--r-- | src/libserver/dkim.c | 2 |
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 (); |