openssh-portable/regress/misc
Darren Tucker 0fa803a1dd
Prefer OpenSSL's SHA256 in sk-dummy.so
Previously sk-dummy.so used libc's (or compat's) SHA256 since it may be
built without OpenSSL.  In many cases, however, including both libc's
and OpenSSL's headers together caused conflicting definitions.

We tried working around this (on OpenSSL <1.1 you could define
OPENSSL_NO_SHA, NetBSD had USE_LIBC_SHA2, various #define hacks) with
varying levels of success.  Since OpenSSL >=1.1 removed OPENSSL_NO_SHA
and including most OpenSSL headers would bring sha.h in, even if it
wasn't used directly this was a constant hassle.

Admit defeat and use OpenSSL's SHA256 unless we aren't using OpenSSL at
all.  ok djm@
2023-07-27 10:30:12 +10:00
..
fuzz-harness agent_fuzz doesn't want stdint.h conditionalised 2023-07-19 12:07:18 +10:00
sk-dummy Prefer OpenSSL's SHA256 in sk-dummy.so 2023-07-27 10:30:12 +10:00
Makefile upstream: remove this KEX fuzzer; it's awkward to use and doesn't play 2021-02-26 15:23:42 +11:00