From 91092bd0e449fdf5610d7a0bb7d13cbf7896bfa8 Mon Sep 17 00:00:00 2001 From: hsbt Date: Sat, 25 Jul 2015 23:49:35 +0000 Subject: [PATCH] * 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 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ test/rubygems/test_gem_remote_fetcher.rb | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 34ac232fda..3dfb946e02 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sun Jul 26 08:49:28 2015 SHIBATA Hiroshi + + * 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 * ext/openssl/lib/openssl/pkey.rb: implement DEFAULT_512 and diff --git a/test/rubygems/test_gem_remote_fetcher.rb b/test/rubygems/test_gem_remote_fetcher.rb index 63dd8feb38..0d2632e99a 100644 --- a/test/rubygems/test_gem_remote_fetcher.rb +++ b/test/rubygems/test_gem_remote_fetcher.rb @@ -898,7 +898,7 @@ gems: 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: end end -