$OpenBSD: patch-config_tests_openssl_openssl_cpp,v 1.1 2017/10/24 10:12:19 rsadowski Exp $
LibreSSL _is_ fine.
Index: config.tests/openssl/openssl.cpp
--- config.tests/openssl/openssl.cpp.orig
+++ config.tests/openssl/openssl.cpp
@@ -38,16 +38,7 @@
 ****************************************************************************/
 
 #include <openssl/opensslv.h>
-
-#if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER-0 < 0x0090700fL
-#  error "OpenSSL >= 0.9.7 is required"
-#endif
-
 #include <openssl/ssl.h>
-
-#if OPENSSL_VERSION_NUMBER-0 >= 0x10002000L && !defined(OPENSSL_NO_EC) && !defined(SSL_CTRL_SET_CURVES)
-#  error "OpenSSL was reported as >= 1.0.2 but is missing required features, possibly it's libressl which is unsupported"
-#endif
 
 int main()
 {
