diff options
Diffstat (limited to 'config.tests/unix/openssl')
-rw-r--r-- | config.tests/unix/openssl/openssl.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.tests/unix/openssl/openssl.cpp b/config.tests/unix/openssl/openssl.cpp index 860567ef4e..d33b62389c 100644 --- a/config.tests/unix/openssl/openssl.cpp +++ b/config.tests/unix/openssl/openssl.cpp @@ -43,6 +43,12 @@ # 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() { } |