summaryrefslogtreecommitdiff
path: root/myproposal.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-06-05 15:04:00 +1000
committerDarren Tucker <dtucker@zip.com.au>2013-06-05 15:04:00 +1000
commit2ea9eb77a7fcab3190564ef5a6a5377a600aa391 (patch)
tree48111c755a2686a95f68b7729b9c3fca39049b3e /myproposal.h
parent16cac190ebb9b5612cccea63a7c22ac33bc9a07a (diff)
downloadopenssh-git-2ea9eb77a7fcab3190564ef5a6a5377a600aa391.tar.gz
- (dtucker) Enable sha256 kex methods based on the presence of the necessary
functions, not from the openssl version.
Diffstat (limited to 'myproposal.h')
-rw-r--r--myproposal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/myproposal.h b/myproposal.h
index 99d09346..f13c7485 100644
--- a/myproposal.h
+++ b/myproposal.h
@@ -46,7 +46,7 @@
#endif
/* Old OpenSSL doesn't support what we need for DHGEX-sha256 */
-#if OPENSSL_VERSION_NUMBER >= 0x00907000L
+#ifdef HAVE_EVP_SHA256
# define KEX_SHA256_METHODS \
"diffie-hellman-group-exchange-sha256,"
#else