mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_x509req.rb: fix for RHEL7
* test/openssl/test_x509req.rb (test_sign_and_verify_rsa_md5): fix exception to be rescued. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3b48a96c79
commit
981ab867f7
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class OpenSSL::TestX509Request < Test::Unit::TestCase
|
|||
assert_equal(false, request_error_returns_false { req.verify(@dsa512) })
|
||||
req.subject = OpenSSL::X509::Name.parse("/C=JP/CN=FooBar")
|
||||
assert_equal(false, req.verify(@rsa2048))
|
||||
rescue OpenSSL::X509::CertificateError # RHEL7 disables MD5
|
||||
rescue OpenSSL::X509::RequestError # RHEL7 disables MD5
|
||||
end
|
||||
|
||||
def test_sign_and_verify_dsa
|
||||
|
|
Loading…
Reference in a new issue