From 3de7ff8eb9eb74e0dbd48902d1535d3c9fe14005 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 13 Dec 2022 17:47:20 +0900 Subject: We should apply https://github.com/ruby/openssl/pull/576 instead of them: https://github.com/ruby/ruby/commit/6d8f396f37350b7aa9c85a097929f54a0939448b https://github.com/ruby/ruby/commit/c8b3bd45cc3cae93ae701333202416838ee6a00c --- ext/openssl/extconf.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'ext/openssl/extconf.rb') diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index fd96533569..af20c8e00c 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -178,7 +178,6 @@ have_func("EVP_PKEY_new_raw_private_key", evp_h) have_func("SSL_CTX_set_ciphersuites", ssl_h) # added in 3.0.0 -openssl_3 = have_func("SSL_set0_tmp_dh_pkey", ssl_h) have_func("ERR_get_error_all", "openssl/err.h") have_func("TS_VERIFY_CTX_set_certs(NULL, NULL)", ts_h) @@ -191,12 +190,6 @@ have_func("EVP_PKEY_dup", evp_h) Logging::message "=== Checking done. ===\n" -if openssl_3 - if $warnflags&.sub!(/-W\K(?=deprecated-declarations)/, 'no-') - $warnflags << " -Wno-incompatible-pointer-types-discards-qualifiers" - end -end - create_header create_makefile("openssl") Logging::message "Done.\n" -- cgit v1.2.3