1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
hsbt 2015-07-25 23:49:35 +00:00
parent 0b9387aaa5
commit 91092bd0e4
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Sun Jul 26 08:49:28 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* 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@ruby-lang.org>
* ext/openssl/lib/openssl/pkey.rb: implement DEFAULT_512 and

View file

@ -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