[前][次][番号順一覧][スレッド一覧]

ruby-changes:62533

From: Kazuhiro <ko1@a...>
Date: Fri, 7 Aug 2020 00:17:15 +0900 (JST)
Subject: [ruby-changes:62533] fcdda2f8a1 (master): Add more debug info to test_verify

https://git.ruby-lang.org/ruby.git/commit/?id=fcdda2f8a1

From fcdda2f8a1b8556bc2ad44e75434f8b6b19f1746 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Fri, 7 Aug 2020 00:16:06 +0900
Subject: Add more debug info to test_verify

http://ci.rvm.jp/results/trunk-random1@phosphorus-docker/3111684

diff --git a/test/openssl/test_x509store.rb b/test/openssl/test_x509store.rb
index 57941fe..b0b9523 100644
--- a/test/openssl/test_x509store.rb
+++ b/test/openssl/test_x509store.rb
@@ -128,7 +128,7 @@ class OpenSSL::TestX509Store < OpenSSL::TestCase https://github.com/ruby/ruby/blob/trunk/test/openssl/test_x509store.rb#L128
     assert_equal(@ee2.to_der, chain[0].subject.to_der)
     assert_equal(@ca2.to_der, chain[1].subject.to_der)
     assert_equal(@ca1.to_der, chain[2].subject.to_der)
-    assert_equal(false, store.verify(ee3_cert), "store=#{store.inspect} ee3_cert=#{ee3_cert.inspect}")
+    assert_equal(false, store.verify(ee3_cert), "now=#{now.inspect} Time.now=#{Time.now.inspect} store=#{store.inspect} ee3_cert=#{ee3_cert.inspect}")
     assert_equal(OpenSSL::X509::V_ERR_CERT_HAS_EXPIRED, store.error)
     assert_match(/expire/i, store.error_string)
     assert_equal(false, store.verify(ee4_cert))
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]