From: Mark Andrews Date: Tue, 24 Jul 2018 08:22:29 +0000 (+1000) Subject: look for LIBRESSL_VERSION_NUMBER as well X-Git-Tag: v9.13.3~93^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7671aba67d7c6851c7c7fdf020f5e54a4138311b;p=thirdparty%2Fbind9.git look for LIBRESSL_VERSION_NUMBER as well --- diff --git a/lib/isc/sha2.c b/lib/isc/sha2.c index d531eab98a3..f5249e637a6 100644 --- a/lib/isc/sha2.c +++ b/lib/isc/sha2.c @@ -18,7 +18,7 @@ #include #include -#if OPENSSL_VERSION_NUMBER < 0x10100000L +#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) #define EVP_MD_CTX_new() &(context->_ctx) #define EVP_MD_CTX_free(ptr) EVP_MD_CTX_cleanup(ptr) #define EVP_MD_CTX_reset(c) EVP_MD_CTX_cleanup(c)