diff options
author | emboss <emboss@ruby-lang.org> | 2011-09-23 04:51:19 +0000 |
---|---|---|
committer | emboss <emboss@ruby-lang.org> | 2011-09-23 04:51:19 +0000 |
commit | f99c47ffe1f13479178f3cd69ff7184390959800 (patch) | |
tree | 4b5fe8a518872335afa401bfce3b260b2803ba72 /test | |
parent | 4405486c9fe28a38ff7d2baea28ac416f90b4f96 (diff) | |
download | ruby-openssl-history-f99c47ffe1f13479178f3cd69ff7184390959800.tar.gz |
* 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
Diffstat (limited to 'test')
-rw-r--r-- | test/test_ssl_session.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_ssl_session.rb b/test/test_ssl_session.rb index 28d40dd..12c6152 100644 --- a/test/test_ssl_session.rb +++ b/test/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 |