summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-08-19 11:14:36 +1000
committerDamien Miller <djm@mindrot.org>2014-08-19 11:14:36 +1000
commit2f3d1e7fb2eabd3cfbfd8d0f7bdd2f9a1888690b (patch)
tree94ec0799194eb0741c49e09fd00600eecfced368
parentd4e7d59d01a6c7f59e8c1f94a83c086e9a33d8aa (diff)
downloadopenssh-git-2f3d1e7fb2eabd3cfbfd8d0f7bdd2f9a1888690b.tar.gz
- (djm) [myproposal.h] Make curve25519 KEX dependent on
HAVE_EVP_SHA256 instead of OPENSSL_HAS_ECC.
-rw-r--r--myproposal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/myproposal.h b/myproposal.h
index 32d0f14b..b35b2b8b 100644
--- a/myproposal.h
+++ b/myproposal.h
@@ -78,7 +78,7 @@
#endif
#ifdef WITH_OPENSSL
-# ifdef OPENSSL_HAS_ECC
+# ifdef HAVE_EVP_SHA256
# define KEX_CURVE25519_METHODS "curve25519-sha256@libssh.org,"
# else
# define KEX_CURVE25519_METHODS ""