Skip to content

Commit

Permalink
* test/openssl/test_x509cert.rb: Exclude test that fails when issuing
Browse files Browse the repository at this point in the history
  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 ruby#6089]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
emboss committed Mar 29, 2012
1 parent 7d8a895 commit 836af4e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Thu Mar 29 09:26:17 2012 Martin Bosslet <[email protected]>

* 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]

Thu Mar 29 08:25:35 2012 Martin Bosslet <[email protected]>

* NEWS: add note about unified behavior of encoding nil values in
Expand Down
3 changes: 2 additions & 1 deletion test/openssl/test_x509cert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ def test_dsig_algorithm_mismatch
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)
Expand Down

0 comments on commit 836af4e

Please sign in to comment.