summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2023-03-28 01:35:18 +0200
committerDarren Tucker <dtucker@dtucker.net>2023-03-28 01:35:18 +0200
commit72bd68d37387aa5f81da928f6e82f1c88ed8f674 (patch)
treefe6d05965185e1de6c3050bd491225e70f1511dd /regress
parentConfigure with --target instead of deprecated form. (diff)
downloadopenssh-72bd68d37387aa5f81da928f6e82f1c88ed8f674.tar.xz
openssh-72bd68d37387aa5f81da928f6e82f1c88ed8f674.zip
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.
Diffstat (limited to 'regress')
-rw-r--r--regress/misc/sk-dummy/sk-dummy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/misc/sk-dummy/sk-dummy.c b/regress/misc/sk-dummy/sk-dummy.c
index ad5e47452..0972cebf5 100644
--- a/regress/misc/sk-dummy/sk-dummy.c
+++ b/regress/misc/sk-dummy/sk-dummy.c
@@ -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>