- (djm) [myproposal.h] Fix reversed OPENSSL_VERSION_NUMBER test and bad

#define that was causing diffie-hellman-group-exchange-sha256 to be
   incorrectly disabled
This commit is contained in:
Damien Miller 2011-01-13 22:00:20 +11:00
parent cbaf8e6ec1
commit 9b16086e74
2 changed files with 5 additions and 2 deletions

View File

@ -7,6 +7,9 @@
gcc warning on platforms where it defaults to int
- (djm) [regress/Makefile] add a few more generated files to the clean
target
- (djm) [myproposal.h] Fix reversed OPENSSL_VERSION_NUMBER test and bad
#define that was causing diffie-hellman-group-exchange-sha256 to be
incorrectly disabled
20110212
- OpenBSD CVS Sync

View File

@ -46,9 +46,9 @@
#endif
/* Old OpenSSL doesn't support what we need for DHGEX-sha256 */
#if OPENSSL_VERSION_NUMBER < 0x00907000L
#if OPENSSL_VERSION_NUMBER >= 0x00907000L
# define KEX_SHA256_METHODS \
"diffie-hellman-group-exchange-sha1,"
"diffie-hellman-group-exchange-sha256,"
#else
# define KEX_SHA256_METHODS
#endif