[前][次][番号順一覧][スレッド一覧]

ruby-changes:21266

From: emboss <ko1@a...>
Date: Fri, 23 Sep 2011 13:51:33 +0900 (JST)
Subject: [ruby-changes:21266] emboss:r33315 (trunk): * test/openssl/test_ssl_session.rb: execute test_session_exts_read

emboss	2011-09-23 13:51:19 +0900 (Fri, 23 Sep 2011)

  New Revision: 33315

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33315

  Log:
    * 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]

  Modified files:
    trunk/ChangeLog
    trunk/test/openssl/test_ssl_session.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33314)
+++ ChangeLog	(revision 33315)
@@ -1,3 +1,10 @@
+Fri Sep 23 13:46:59 2011  Martin Bosslet  <Martin.Bosslet@g...>
+
+	* 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@g...>
 
 	* test/openssl/test_ssl_session.rb: ensure server calls callbacks in
Index: test/openssl/test_ssl_session.rb
===================================================================
--- test/openssl/test_ssl_session.rb	(revision 33314)
+++ test/openssl/test_ssl_session.rb	(revision 33315)
@@ -108,11 +108,9 @@
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]