mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
RHEL7 disables MD5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e08773bc8a
commit
3b48a96c79
2 changed files with 2 additions and 0 deletions
|
@ -146,6 +146,7 @@ class OpenSSL::TestX509Certificate < Test::Unit::TestCase
|
||||||
assert_equal(false, certificate_error_returns_false { cert.verify(@dsa512) })
|
assert_equal(false, certificate_error_returns_false { cert.verify(@dsa512) })
|
||||||
cert.subject = @ee1
|
cert.subject = @ee1
|
||||||
assert_equal(false, cert.verify(@rsa2048))
|
assert_equal(false, cert.verify(@rsa2048))
|
||||||
|
rescue OpenSSL::X509::CertificateError # RHEL7 disables MD5
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_sign_and_verify_dsa
|
def test_sign_and_verify_dsa
|
||||||
|
|
|
@ -116,6 +116,7 @@ class OpenSSL::TestX509Request < Test::Unit::TestCase
|
||||||
assert_equal(false, request_error_returns_false { req.verify(@dsa512) })
|
assert_equal(false, request_error_returns_false { req.verify(@dsa512) })
|
||||||
req.subject = OpenSSL::X509::Name.parse("/C=JP/CN=FooBar")
|
req.subject = OpenSSL::X509::Name.parse("/C=JP/CN=FooBar")
|
||||||
assert_equal(false, req.verify(@rsa2048))
|
assert_equal(false, req.verify(@rsa2048))
|
||||||
|
rescue OpenSSL::X509::CertificateError # RHEL7 disables MD5
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_sign_and_verify_dsa
|
def test_sign_and_verify_dsa
|
||||||
|
|
Loading…
Reference in a new issue