aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/extconf.rb
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-04-27 13:43:58 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-04-27 23:07:42 +0900
commite605469019f038a01f385ee65a886a2057fd24f8 (patch)
tree2df432c3a35c66d426175a029d09e3b99768ad87 /ext/openssl/extconf.rb
parent70f1019cbfbe7a65e2195dc7512ce108868fe1fd (diff)
downloadruby-e605469019f038a01f385ee65a886a2057fd24f8.tar.gz
ext/openssl: make ENGINE.cleanup no-op if using OpenSSL 1.1.0
Diffstat (limited to 'ext/openssl/extconf.rb')
-rw-r--r--ext/openssl/extconf.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb
index b2a09675e4..6f312220a6 100644
--- a/ext/openssl/extconf.rb
+++ b/ext/openssl/extconf.rb
@@ -112,7 +112,7 @@ have_func("EVP_MD_CTX_free")
have_func("HMAC_CTX_new")
have_func("HMAC_CTX_free")
have_func("HMAC_CTX_reset")
-have_func("RAND_pseudo_bytes", ["openssl/rand.h"], "-Werror=deprecated-declarations")
+have_func("RAND_pseudo_bytes", ["openssl/rand.h"], "-Werror=deprecated-declarations") # deprecated
have_func("X509_STORE_get_ex_data")
have_func("X509_STORE_set_ex_data")
have_func("X509_CRL_get0_signature")
@@ -131,6 +131,7 @@ have_func("SSL_CTX_get_ciphers")
have_func_like("SSL_CTX_set_min_proto_version", "openssl/ssl.h")
have_func("SSL_SESSION_up_ref")
have_func("EVP_PKEY_up_ref")
+have_func("ENGINE_cleanup") # removed
Logging::message "=== Checking done. ===\n"