summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-28 02:40:31 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-28 02:40:31 +0000
commitbd7326c383b44fa78c1eec832dd47cf2370b5eca (patch)
treeb411470d19c16b787264f5f7b3571c23a59cf867
parent334244eb5d45e263874c739490213f4b87ab8e5b (diff)
* test/openssl/{test_x509cert.rb,openssl,test_x509req.rb}:
remove false positive tests because of OpenSSL spec change. patched by Motohiro KOSAKI [ruby-core:28063] see also [ruby-dev:40077] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog7
-rw-r--r--test/openssl/test_x509cert.rb4
-rw-r--r--test/openssl/test_x509req.rb2
3 files changed, 7 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 4788983ffb..e2e3ac9c05 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Sun Feb 28 11:21:03 2010 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * test/openssl/{test_x509cert.rb,openssl,test_x509req.rb}:
+ remove false positive tests because of OpenSSL spec change.
+ patched by Motohiro KOSAKI [ruby-core:28063]
+ see also [ruby-dev:40077]
+
Sun Feb 28 11:25:16 2010 Tanaka Akira <akr@fsij.org>
* pack.c (pack_pack): generalized integer packer implemented.
diff --git a/test/openssl/test_x509cert.rb b/test/openssl/test_x509cert.rb
index 4020d90a0e..1d00f9c18c 100644
--- a/test/openssl/test_x509cert.rb
+++ b/test/openssl/test_x509cert.rb
@@ -165,10 +165,6 @@ class OpenSSL::TestX509Certificate < Test::Unit::TestCase
cert = issue_cert(@ca, @dsa512, 1, Time.now, Time.now+3600, [],
nil, nil, OpenSSL::Digest::MD5.new)
}
- assert_raise(OpenSSL::X509::CertificateError){
- cert = issue_cert(@ca, @dsa512, 1, Time.now, Time.now+3600, [],
- nil, nil, OpenSSL::Digest::SHA1.new)
- }
end
end
diff --git a/test/openssl/test_x509req.rb b/test/openssl/test_x509req.rb
index 1ca56d7e05..2da90c4c96 100644
--- a/test/openssl/test_x509req.rb
+++ b/test/openssl/test_x509req.rb
@@ -131,8 +131,6 @@ class OpenSSL::TestX509Request < Test::Unit::TestCase
assert_raise(OpenSSL::X509::RequestError){
issue_csr(0, @dn, @rsa1024, OpenSSL::Digest::DSS1.new) }
assert_raise(OpenSSL::X509::RequestError){
- issue_csr(0, @dn, @dsa512, OpenSSL::Digest::SHA1.new) }
- assert_raise(OpenSSL::X509::RequestError){
issue_csr(0, @dn, @dsa512, OpenSSL::Digest::MD5.new) }
end
end