mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user