From 586e5f6d9dbac24680c479b737351edd675ff0b4 Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Sat, 17 Dec 2016 09:54:41 +0100 Subject: [PATCH] Fix build with LibreSSL. --- lib/hcrypto/evp-openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hcrypto/evp-openssl.c b/lib/hcrypto/evp-openssl.c index d660abe7c..a651184c6 100644 --- a/lib/hcrypto/evp-openssl.c +++ b/lib/hcrypto/evp-openssl.c @@ -75,7 +75,7 @@ /* Now it's safe to include OpenSSL headers */ #include -#if OPENSSL_VERSION_NUMBER < 0x10100000L +#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) #define EVP_MD_CTX_new EVP_MD_CTX_create #define EVP_MD_CTX_free EVP_MD_CTX_destroy #endif -- 2.11.4.GIT