diff options
author | djm <djm> | 2006-03-15 02:02:28 +0000 |
---|---|---|
committer | djm <djm> | 2006-03-15 02:02:28 +0000 |
commit | f6607471f48483c732b36816abda1794250a643a (patch) | |
tree | ff7a9cc2b2020b22ea943fdcf988d6c8ee7d7582 /kex.c | |
parent | 36da4b3feb159bafcd05d6c4c583eada8e1d55c4 (diff) | |
download | openssh-f6607471f48483c732b36816abda1794250a643a.tar.gz |
- (djm) [configure.ac defines.h kex.c md-sha256.c]
[openbsd-compat/sha2.h openbsd-compat/openbsd-compat.h]
[openbsd-compat/sha2.c] First stab at portability glue for SHA256
KEX support, should work with libc SHA256 support or OpenSSL
EVP_sha256 if present
Diffstat (limited to 'kex.c')
-rw-r--r-- | kex.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -44,7 +44,11 @@ RCSID("$OpenBSD: kex.c,v 1.66 2006/03/07 09:07:40 djm Exp $"); #define KEX_COOKIE_LEN 16 +#ifdef HAVE_EVP_SHA256 +# define evp_ssh_sha256 EVP_sha256 +#else /* HAVE_EVP_SHA256 */ extern const EVP_MD *evp_ssh_sha256(void); +#endif /* HAVE_EVP_SHA256 */ /* prototype */ static void kex_kexinit_finish(Kex *); |