diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2022-06-30 15:36:34 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2022-06-30 15:36:34 +0900 |
commit | 4b1f337ef20ad31bc79c36c6e97e97817a013962 (patch) | |
tree | e99d0a226355049c0dbddff219b7ea4ca3e22483 /spec | |
parent | a5420b6fc13ede3ed96cd3196265e7919f1146d1 (diff) | |
download | ruby-4b1f337ef20ad31bc79c36c6e97e97817a013962.tar.gz |
Add more check to debug failures
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ruby/library/openssl/x509/name/verify_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/openssl/x509/name/verify_spec.rb b/spec/ruby/library/openssl/x509/name/verify_spec.rb index f5384f5764..f33102b892 100644 --- a/spec/ruby/library/openssl/x509/name/verify_spec.rb +++ b/spec/ruby/library/openssl/x509/name/verify_spec.rb @@ -15,7 +15,7 @@ describe "OpenSSL::X509::Name.verify" do cert.sign key, OpenSSL::Digest.new('SHA1') store = OpenSSL::X509::Store.new store.add_cert(cert) - store.verify(cert).should == true + [store.verify(cert), store.error, store.error_string].should == [true, 0, "ok"] end it "returns false for an expired certificate" do |