From 49c24fd8def2c413885b08ef07fc5aab3a9b03e2 Mon Sep 17 00:00:00 2001 From: rhe Date: Wed, 25 May 2016 08:50:03 +0000 Subject: openssl: drop OpenSSL 0.9.6/0.9.7 support * ext/openssl, test/openssl: Drop OpenSSL < 0.9.8 support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl.h | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'ext/openssl/ossl.h') diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h index 4a538e9b12..2317fa8b5e 100644 --- a/ext/openssl/ossl.h +++ b/ext/openssl/ossl.h @@ -27,11 +27,6 @@ #include #include -/* - * Check the OpenSSL version - * The only supported are: - * OpenSSL >= 0.9.7 - */ #include #ifdef HAVE_ASSERT_H @@ -42,7 +37,6 @@ #if defined(_WIN32) && !defined(LIBRESSL_VERSION_NUMBER) # include -# define OSSL_NO_CONF_API 1 # if !defined(OPENSSL_SYS_WIN32) # define OPENSSL_SYS_WIN32 1 # endif @@ -62,14 +56,10 @@ #if !defined(_WIN32) # include #endif -#undef X509_NAME -#undef PKCS7_SIGNER_INFO -#if defined(HAVE_OPENSSL_ENGINE_H) && defined(HAVE_EVP_CIPHER_CTX_ENGINE) -# define OSSL_ENGINE_ENABLED +#if !defined(OPENSSL_NO_ENGINE) # include #endif -#if defined(HAVE_OPENSSL_OCSP_H) -# define OSSL_OCSP_ENABLED +#if !defined(OPENSSL_NO_OCSP) # include #endif @@ -106,13 +96,6 @@ extern VALUE eOSSLError; }\ } while (0) -/* - * Compatibility - */ -#if OPENSSL_VERSION_NUMBER >= 0x10000000L -#define STACK _STACK -#endif - /* * String to HEXString conversion */ -- cgit v1.2.3