diff options
author | emboss <emboss@ruby-lang.org> | 2012-03-29 00:32:09 +0000 |
---|---|---|
committer | emboss <emboss@ruby-lang.org> | 2012-03-29 00:32:09 +0000 |
commit | fdb44b043679ef59509f69dd2497bf4c54a3e396 (patch) | |
tree | 09910a4e9fda641a69a3d9e097463d6271e02c4d /test | |
parent | 4d2dfac660549e3c18ad8d274134c43eefb35d2f (diff) | |
download | ruby-openssl-history-fdb44b043679ef59509f69dd2497bf4c54a3e396.tar.gz |
* test/openssl/test_x509cert.rb: Exclude test that fails when issuing
a certificate with RSA signature and DSS1 digest for earlier
OpenSSL versions when used in conjunction with OpenSSL 1.0.1.
Thanks, Vit Ondruch, for reporting the issue.
[ruby-core:42949][Bug #6089]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/test_x509cert.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_x509cert.rb b/test/test_x509cert.rb index 8b8c51c..80c31f4 100644 --- a/test/test_x509cert.rb +++ b/test/test_x509cert.rb @@ -175,7 +175,8 @@ class OpenSSL::TestX509Certificate < Test::Unit::TestCase assert_raise(OpenSSL::X509::CertificateError) do cert = issue_cert(@ca, @rsa2048, 1, Time.now, Time.now+3600, [], nil, nil, OpenSSL::Digest::DSS1.new) - end + end if OpenSSL::OPENSSL_VERSION_NUMBER < 0x10001000 # [ruby-core:42949] + assert_raise(OpenSSL::X509::CertificateError) do cert = issue_cert(@ca, @dsa512, 1, Time.now, Time.now+3600, [], nil, nil, OpenSSL::Digest::MD5.new) |