diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-11-30 21:57:35 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-12-22 14:48:30 +0900 |
commit | 4eb4b3297a92149d0a95c674107d091b18fe76af (patch) | |
tree | 637ad45f90371a7eda174f50cd4bc6efcd7ee503 /test/test_ssl_session.rb | |
parent | c9225b0cbc5d6ce48e7d6172e2010f02b90e22c9 (diff) | |
download | ruby-openssl-4eb4b3297a92149d0a95c674107d091b18fe76af.tar.gz |
Remove support for OpenSSL 0.9.8 and 1.0.0topic/drop-openssl-098-and-100
They are no longer receiving security updates from the OpenSSL
development team since 2015-12.
We have kept basic compatibility until now because RHEL 5 still uses an
(heavily modified) OpenSSL 0.9.8e. The RHEL 5 will reach EOL on 2017-03,
thus it is now safe to assume nobody is still using such old versions of
OpenSSL.
Diffstat (limited to 'test/test_ssl_session.rb')
-rw-r--r-- | test/test_ssl_session.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/test_ssl_session.rb b/test/test_ssl_session.rb index b2643edd..2f633b03 100644 --- a/test/test_ssl_session.rb +++ b/test/test_ssl_session.rb @@ -1,8 +1,6 @@ # frozen_string_literal: false require_relative "utils" -if defined?(OpenSSL::TestUtils) - class OpenSSL::TestSSLSession < OpenSSL::SSLTestCase def test_session_equals session = OpenSSL::SSL::Session.new <<-SESSION @@ -150,7 +148,7 @@ __EOS__ def test_session_exts_read assert(OpenSSL::SSL::Session.new(DUMMY_SESSION)) - end if OpenSSL::OPENSSL_VERSION_NUMBER >= 0x009080bf + end def test_client_session last_session = nil @@ -376,5 +374,3 @@ __EOS__ assert_equal(sess_orig.to_der, sess_dup.to_der) end end - -end |