- (dtucker) Enable sha256 kex methods based on the presence of the necessary
   functions, not from the openssl version.
diff --git a/myproposal.h b/myproposal.h
index 99d0934..f13c748 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