diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2021-01-31 09:56:27 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2021-01-31 09:56:27 +0000 |
| commit | 8b49c3e4bc767bec8a66ac81cbda033330fb2703 (patch) | |
| tree | 5d1076ac5e0f06189dc517533bd9422619d3ec14 /test/webrick/test_httpproxy.rb | |
| parent | 092aeb28fc5a13fb9ed1d4b7675f3c33e970f1d3 (diff) | |
Backport webrick patch for CVE-2020-25613
[Backport #17201]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/webrick/test_httpproxy.rb')
| -rw-r--r-- | test/webrick/test_httpproxy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/webrick/test_httpproxy.rb b/test/webrick/test_httpproxy.rb index a9f6f7d610..504eb1f915 100644 --- a/test/webrick/test_httpproxy.rb +++ b/test/webrick/test_httpproxy.rb @@ -213,7 +213,7 @@ class TestWEBrickHTTPProxy < Test::Unit::TestCase end end end - end + end if RUBY_VERSION >= '2.5' def make_certificate(key, cn) subject = OpenSSL::X509::Name.parse("/DC=org/DC=ruby-lang/CN=#{cn}") |
