diff options
Diffstat (limited to 'test')
-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 4eef12a47d..a9f6f7d610 100644 --- a/test/webrick/test_httpproxy.rb +++ b/test/webrick/test_httpproxy.rb @@ -230,7 +230,7 @@ class TestWEBrickHTTPProxy < Test::Unit::TestCase cert.not_after = Time.now + 3600 ef = OpenSSL::X509::ExtensionFactory.new(cert, cert) exts.each {|args| cert.add_extension(ef.create_extension(*args)) } - cert.sign(key, "sha1") + cert.sign(key, "sha256") return cert end if defined?(OpenSSL::SSL) |