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