mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 16:24:39 +02:00
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
|
#ifdef WITH_OPENSSL
|
||||||
/* We don't use sha2 from OpenSSL and they can conflict with system sha2.h */
|
/* 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 */
|
#define USE_LIBC_SHA2 /* NetBSD 9 */
|
||||||
#include <openssl/opensslv.h>
|
#include <openssl/opensslv.h>
|
||||||
#include <openssl/crypto.h>
|
#include <openssl/crypto.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user