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:
parent
99668f2e6e
commit
72bd68d373
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue