Issue #4554 has been updated by Motohiro KOSAKI.

Status changed from Open to Closed


----------------------------------------
Bug #4554: test_set_errors in test_x509store.rb fails on CentOS 5.5
http://redmine.ruby-lang.org/issues/4554

Author: Yutaka HARA
Status: Closed
Priority: Normal
Assignee: 
Category: ext
Target version: 
ruby -v: ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]


=begin
On CentOS 5.5, test_set_errors in test_x509store.rb fails as follows:

1.9.2 p180

   1) Failure:
 test_set_errors(OpenSSL::TestX509Store) [/var/home/yhara/ruby-1.9.2-p180/test/openssl/test_x509store.rb:212]:
 OpenSSL::X509::StoreError expected but nothing was raised.

1.8.7 p334

   1) Failure:
 test_set_errors(OpenSSL::TestX509Store) [./test/openssl/test_x509store.rb:212]:
 <OpenSSL::X509::StoreError> exception expected but none was thrown.

test_set_errors asserts that OpenSSL::X509::Store#add_crl raises an exception 
when two CRLs issued by same CA are added to the store.

However, the openssl package provided by CentOS are patched not to treat this
as an error (multi-crl.patch).

=end



-- 
http://redmine.ruby-lang.org