Replace OPENSSL_NO_SHA with HEADER_SHA_H.

Since this test doesn't use OpenSSL's SHA2 and may cause conflicts we
don't want to include it, but OPENSSL_NO_SHA was removed beginning in
OpenSSL's 1.1 series.
This commit is contained in:
Darren Tucker 2023-03-28 10:35:18 +11:00
parent 99668f2e6e
commit 72bd68d373
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

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