2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

Merge branch '432-sha2-c-does-not-compile-with-libressl' into 'master'

Resolve "sha2.c does not compile with libressl."

Closes #432

See merge request isc-projects/bind9!552
This commit is contained in:
Mark Andrews 2018-07-24 19:28:50 -04:00
commit ebcaae4ae5

View File

@ -18,7 +18,7 @@
#include <isc/string.h> #include <isc/string.h>
#include <isc/util.h> #include <isc/util.h>
#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_new() &(context->_ctx)
#define EVP_MD_CTX_free(ptr) EVP_MD_CTX_cleanup(ptr) #define EVP_MD_CTX_free(ptr) EVP_MD_CTX_cleanup(ptr)
#define EVP_MD_CTX_reset(c) EVP_MD_CTX_cleanup(c) #define EVP_MD_CTX_reset(c) EVP_MD_CTX_cleanup(c)