From e2694c597d5dd309dba2a7b5d8b0ea6963fe7f2e Mon Sep 17 00:00:00 2001 From: emboss Date: Fri, 23 Sep 2011 04:51:19 +0000 Subject: * test/openssl/test_ssl_session.rb: execute test_session_exts_read only for OpenSSL versions >= 0.9.8k. Thanks, Eric Wong, for reporting this. [Bug #4961] [ruby-core:37726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/openssl/test_ssl_session.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test') diff --git a/test/openssl/test_ssl_session.rb b/test/openssl/test_ssl_session.rb index 28d40ddcf2..12c6152f9b 100644 --- a/test/openssl/test_ssl_session.rb +++ b/test/openssl/test_ssl_session.rb @@ -108,11 +108,9 @@ __EOS__ assert_equal(2**31 - 1, sess.timeout.to_i) end -if OpenSSL::OPENSSL_VERSION_NUMBER >= 0x0090806f def test_session_exts_read assert(OpenSSL::SSL::Session.new(DUMMY_SESSION)) - end -end + end if OpenSSL::OPENSSL_VERSION_NUMBER >= 0x009080bf def test_client_session last_session = nil -- cgit v1.2.3