diff options
author | emboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-09-23 04:51:19 +0000 |
---|---|---|
committer | emboss <emboss@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-09-23 04:51:19 +0000 |
commit | e2694c597d5dd309dba2a7b5d8b0ea6963fe7f2e (patch) | |
tree | 3836940b9a8e06ed3f5b47aa2a18f7aa817bd62c | |
parent | 4c3f08caeac0fe7436208b723a0bd6d45eeab964 (diff) | |
download | ruby-e2694c597d5dd309dba2a7b5d8b0ea6963fe7f2e.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
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | test/openssl/test_ssl_session.rb | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -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 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 |