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

ruby-changes:37018

From: hsbt <ko1@a...>
Date: Fri, 2 Jan 2015 15:10:25 +0900 (JST)
Subject: [ruby-changes:37018] hsbt:r49099 (trunk): * test/openssl/test_ssl_session.rb (OpenSSL#test_ctx_client_session_cb):

hsbt	2015-01-02 15:10:07 +0900 (Fri, 02 Jan 2015)

  New Revision: 49099

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

  Log:
    * test/openssl/test_ssl_session.rb (OpenSSL#test_ctx_client_session_cb):
      fix test failure with OpenSSL disabled SSLv3 protocol.
      [ruby-core:63772] [Bug #10046]

  Modified files:
    trunk/ChangeLog
    trunk/test/openssl/test_ssl_session.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 49098)
+++ ChangeLog	(revision 49099)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jan  2 15:10:01 2015  SHIBATA Hiroshi  <shibata.hiroshi@g...>
+
+	* test/openssl/test_ssl_session.rb (OpenSSL#test_ctx_client_session_cb):
+	  fix test failure with OpenSSL disabled SSLv3 protocol.
+	  [ruby-core:63772] [Bug #10046]
+
 Fri Jan  2 09:08:31 2015  Tanaka Akira  <akr@f...>
 
 	* lib/resolv.rb (Resolv::DNS::Label::Str#==): Check class equality.
Index: test/openssl/test_ssl_session.rb
===================================================================
--- test/openssl/test_ssl_session.rb	(revision 49098)
+++ test/openssl/test_ssl_session.rb	(revision 49099)
@@ -278,7 +278,7 @@ __EOS__ https://github.com/ruby/ruby/blob/trunk/test/openssl/test_ssl_session.rb#L278
 
   def test_ctx_client_session_cb
     called = {}
-    ctx = OpenSSL::SSL::SSLContext.new("SSLv3")
+    ctx = OpenSSL::SSL::SSLContext.new
     ctx.session_cache_mode = OpenSSL::SSL::SSLContext::SESSION_CACHE_CLIENT
 
     ctx.session_new_cb = lambda { |ary|

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

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