summaryrefslogtreecommitdiff
path: root/spec/ruby/library
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2022-06-30 15:36:34 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2022-06-30 15:36:34 +0900
commit4b1f337ef20ad31bc79c36c6e97e97817a013962 (patch)
treee99d0a226355049c0dbddff219b7ea4ca3e22483 /spec/ruby/library
parenta5420b6fc13ede3ed96cd3196265e7919f1146d1 (diff)
Add more check to debug failures
Diffstat (limited to 'spec/ruby/library')
-rw-r--r--spec/ruby/library/openssl/x509/name/verify_spec.rb2
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