Fix building with LibreSSL again

This commit is contained in:
Jon Siwek 2019-01-24 17:53:03 -06:00
parent 7465bceb7e
commit 1b2b1b2850
3 changed files with 6 additions and 2 deletions

View file

@ -11,7 +11,7 @@
#include <openssl/sha.h>
#include <openssl/evp.h>
#if OPENSSL_VERSION_NUMBER < 0x10100000L
#if ( OPENSSL_VERSION_NUMBER < 0x10100000L ) || defined(LIBRESSL_VERSION_NUMBER)
#define EVP_MD_CTX_new EVP_MD_CTX_create
#define EVP_MD_CTX_free EVP_MD_CTX_destroy