2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

look for LIBRESSL_VERSION_NUMBER as well

This commit is contained in:
Mark Andrews
2018-07-24 18:22:29 +10:00
parent e7c34d5179
commit 7671aba67d

View File

@@ -18,7 +18,7 @@
#include <isc/string.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_free(ptr) EVP_MD_CTX_cleanup(ptr)
#define EVP_MD_CTX_reset(c) EVP_MD_CTX_cleanup(c)