summaryrefslogtreecommitdiff
path: root/spec/ruby/library/openssl/x509/name/verify_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/openssl/x509/name/verify_spec.rb')
-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