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

ruby-changes:39303

From: hsbt <ko1@a...>
Date: Sun, 26 Jul 2015 08:49:41 +0900 (JST)
Subject: [ruby-changes:39303] hsbt:r51384 (trunk): * test/rubygems/test_gem_remote_fetcher.rb: backport rubygems upstream

hsbt	2015-07-26 08:49:35 +0900 (Sun, 26 Jul 2015)

  New Revision: 51384

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

  Log:
    * test/rubygems/test_gem_remote_fetcher.rb: backport rubygems upstream
      change for OpenSSL key length. see detail to
      https://github.com/rubygems/rubygems/pull/1290

  Modified files:
    trunk/ChangeLog
    trunk/test/rubygems/test_gem_remote_fetcher.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 51383)
+++ ChangeLog	(revision 51384)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Jul 26 08:49:28 2015  SHIBATA Hiroshi  <hsbt@r...>
+
+	* test/rubygems/test_gem_remote_fetcher.rb: backport rubygems upstream
+	  change for OpenSSL key length. see detail to
+	  https://github.com/rubygems/rubygems/pull/1290
+
 Sun Jul 26 08:33:03 2015  Aaron Patterson <tenderlove@r...>
 
 	* ext/openssl/lib/openssl/pkey.rb: implement DEFAULT_512 and
Index: test/rubygems/test_gem_remote_fetcher.rb
===================================================================
--- test/rubygems/test_gem_remote_fetcher.rb	(revision 51383)
+++ test/rubygems/test_gem_remote_fetcher.rb	(revision 51384)
@@ -898,7 +898,7 @@ gems: https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_remote_fetcher.rb#L898
       server.mount_proc("/insecure_redirect") { |req, res|
         res.set_redirect(WEBrick::HTTPStatus::MovedPermanently, req.query['to'])
       }
-      server.ssl_context.tmp_dh_callback = proc {|_, _, k| OpenSSL::PKey::DH.new(k) }
+      server.ssl_context.tmp_dh_callback = proc { OpenSSL::PKey::DH.new 2048 }
       t = Thread.new do
         begin
           server.start
@@ -984,4 +984,3 @@ gems: https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_remote_fetcher.rb#L984
   end
 
 end
-

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

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