Commit 7671aba6 authored by Mark Andrews's avatar Mark Andrews
Browse files

look for LIBRESSL_VERSION_NUMBER as well

parent e7c34d51
Pipeline #3203 passed with stages
in 14 minutes and 35 seconds
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment