diff options
author | Damien Miller <djm@mindrot.org> | 2014-08-19 11:14:36 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-08-19 11:14:36 +1000 |
commit | 2f3d1e7fb2eabd3cfbfd8d0f7bdd2f9a1888690b (patch) | |
tree | 94ec0799194eb0741c49e09fd00600eecfced368 /myproposal.h | |
parent | d4e7d59d01a6c7f59e8c1f94a83c086e9a33d8aa (diff) |
- (djm) [myproposal.h] Make curve25519 KEX dependent on
HAVE_EVP_SHA256 instead of OPENSSL_HAS_ECC.
Diffstat (limited to 'myproposal.h')
-rw-r--r-- | myproposal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myproposal.h b/myproposal.h index 32d0f14b5..b35b2b8bd 100644 --- a/myproposal.h +++ b/myproposal.h | |||
@@ -78,7 +78,7 @@ | |||
78 | #endif | 78 | #endif |
79 | 79 | ||
80 | #ifdef WITH_OPENSSL | 80 | #ifdef WITH_OPENSSL |
81 | # ifdef OPENSSL_HAS_ECC | 81 | # ifdef HAVE_EVP_SHA256 |
82 | # define KEX_CURVE25519_METHODS "curve25519-sha256@libssh.org," | 82 | # define KEX_CURVE25519_METHODS "curve25519-sha256@libssh.org," |
83 | # else | 83 | # else |
84 | # define KEX_CURVE25519_METHODS "" | 84 | # define KEX_CURVE25519_METHODS "" |