summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--test/openssl/test_ssl_session.rb4
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index d226a752ca..31c398d81c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+Fri Sep 23 06:54:44 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
+
+ * backport r33315 from trunk.
+
+ * 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 12:18:52 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* backport r33311 from trunk.
diff --git a/test/openssl/test_ssl_session.rb b/test/openssl/test_ssl_session.rb
index 172d0d4c9f..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 >= 0x00908000
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