Add USE_LIBC_SHA2 for (at least) NetBSD 9.

This commit is contained in:
Darren Tucker 2021-10-06 17:45:28 +11:00
parent 639c440f6c
commit 7cd062c3a2

View File

@ -38,6 +38,7 @@
#ifdef WITH_OPENSSL
/* We don't use sha2 from OpenSSL and they can conflict with system sha2.h */
#define OPENSSL_NO_SHA
#define USE_LIBC_SHA2 /* NetBSD 9 */
#include <openssl/opensslv.h>
#include <openssl/crypto.h>
#include <openssl/evp.h>