summaryrefslogtreecommitdiff
path: root/myproposal.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-01-13 22:00:20 +1100
committerDamien Miller <djm@mindrot.org>2011-01-13 22:00:20 +1100
commit9b16086e74c5df0b213bd871be6bee3c04c98f87 (patch)
tree9f8ddbc80d580fd2b8d5babdf2d7c2a47ad61f06 /myproposal.h
parentcbaf8e6ec17ceceb488eed578a11f3ab73264a1e (diff)
- (djm) [myproposal.h] Fix reversed OPENSSL_VERSION_NUMBER test and bad
#define that was causing diffie-hellman-group-exchange-sha256 to be incorrectly disabled
Diffstat (limited to 'myproposal.h')
-rw-r--r--myproposal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/myproposal.h b/myproposal.h
index 893190788..2c43607a7 100644
--- a/myproposal.h
+++ b/myproposal.h
@@ -46,9 +46,9 @@
46#endif 46#endif
47 47
48/* Old OpenSSL doesn't support what we need for DHGEX-sha256 */ 48/* Old OpenSSL doesn't support what we need for DHGEX-sha256 */
49#if OPENSSL_VERSION_NUMBER < 0x00907000L 49#if OPENSSL_VERSION_NUMBER >= 0x00907000L
50# define KEX_SHA256_METHODS \ 50# define KEX_SHA256_METHODS \
51 "diffie-hellman-group-exchange-sha1," 51 "diffie-hellman-group-exchange-sha256,"
52#else 52#else
53# define KEX_SHA256_METHODS 53# define KEX_SHA256_METHODS
54#endif 54#endif