mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_gem_remote_fetcher.rb: get rid of errors
* test/rubygems/test_gem_remote_fetcher.rb (start_ssl_server): temporary measure for "dh key too small" error of OpenSSL 1.0.2c+. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e77f9fcb13
commit
6398515adf
1 changed files with 1 additions and 1 deletions
|
@ -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 { OpenSSL::PKey::DH.new 128 }
|
||||
server.ssl_context.tmp_dh_callback = proc {|_, _, k| OpenSSL::PKey::DH.new(k) }
|
||||
t = Thread.new do
|
||||
begin
|
||||
server.start
|
||||
|
|
Loading…
Add table
Reference in a new issue