1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
emboss 2011-09-23 04:51:19 +00:00
parent 4c3f08caea
commit e2694c597d
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,10 @@
Fri Sep 23 13:46:59 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* 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]
Fri Sep 23 11:59:08 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/test_ssl_session.rb: ensure server calls callbacks in

View file

@ -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