diff options
author | Yusuke Endoh <[email protected]> | 2020-02-17 13:20:51 +0900 |
---|---|---|
committer | Yusuke Endoh <[email protected]> | 2020-02-17 13:20:51 +0900 |
commit | 3fbcdac3e40f68667a9a1b5a2efed215762260c0 (patch) | |
tree | ac73ab9314a83c308a36bca5b80a74aa0d92809d /test/openssl/test_ssl.rb | |
parent | dec802d8b59900e57e18fa6712caf95f12324aea (diff) |
test/openssl/test_ssl.rb: skip OpenSSL::TestSSL#test_fallback_scsv
on OpenSSL 1.1.1d or later.
https://github.com/ruby/openssl/issues/336
Diffstat (limited to 'test/openssl/test_ssl.rb')
-rw-r--r-- | test/openssl/test_ssl.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb index 4ce677fe80..c938ec49ee 100644 --- a/test/openssl/test_ssl.rb +++ b/test/openssl/test_ssl.rb @@ -186,9 +186,10 @@ class OpenSSL::TestSSL < OpenSSL::SSLTestCase end def test_add_certificate_chain_file + pend "The current server.crt seems too short for OpenSSL 1.1.1d or later" if OpenSSL::OPENSSL_VERSION_NUMBER >= 0x10101040 ctx = OpenSSL::SSL::SSLContext.new assert ctx.add_certificate_chain_file(Fixtures.file_path("chain", "server.crt")) - end if OpenSSL::OPENSSL_VERSION_NUMBER < 0x10101040 # XXX: The current server.crt seems too short for OpenSSL 1.1.1d or later + end def test_sysread_and_syswrite start_server { |port| @@ -1421,6 +1422,7 @@ end def test_fallback_scsv pend "Fallback SCSV is not supported" unless \ OpenSSL::SSL::SSLContext.method_defined?(:enable_fallback_scsv) + pend "This test seems to fail on OpenSSL 1.1.1d or later" if OpenSSL::OPENSSL_VERSION_NUMBER >= 0x10101040 start_server do |port| ctx = OpenSSL::SSL::SSLContext.new |