diff options
author | Hiroshi SHIBATA <[email protected]> | 2022-12-13 17:47:20 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2022-12-13 18:07:41 +0900 |
commit | 3de7ff8eb9eb74e0dbd48902d1535d3c9fe14005 (patch) | |
tree | a7abb49aa252b4dcb374adcde843fced1d8e1dfc /ext/openssl | |
parent | 2be03fb5b0fc6ba18cf9842f410f3853e0369600 (diff) |
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
Diffstat (limited to 'ext/openssl')
-rw-r--r-- | ext/openssl/extconf.rb | 7 |
1 files changed, 0 insertions, 7 deletions
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" |