Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(647)

Unified Diff: net/data/verify_certificate_chain_unittest/expired-target-notBefore.pem

Issue 2329593002: Add optional context for certificate errors. (Closed)
Patch Set: Address Matt's comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/data/verify_certificate_chain_unittest/expired-target-notBefore.pem
diff --git a/net/data/verify_certificate_chain_unittest/expired-target-notBefore.pem b/net/data/verify_certificate_chain_unittest/expired-target-notBefore.pem
index 14c9f0b1c7230ae1c4d697ff6e26d641ecd4589e..f73790cbf64ccdb2b2bf93364113d9e4f9eae9fa 100644
--- a/net/data/verify_certificate_chain_unittest/expired-target-notBefore.pem
+++ b/net/data/verify_certificate_chain_unittest/expired-target-notBefore.pem
@@ -281,7 +281,10 @@ FAIL
RkFJTA==
-----END VERIFY_RESULT-----
-Time is before notBefore
+[Context] Processing Certificate
+ index: 1
+ [Error] Time is before notBefore
+
-----BEGIN ERRORS-----
-VGltZSBpcyBiZWZvcmUgbm90QmVmb3Jl
+W0NvbnRleHRdIFByb2Nlc3NpbmcgQ2VydGlmaWNhdGUKICBpbmRleDogMQogICAgICBbRXJyb3JdIFRpbWUgaXMgYmVmb3JlIG5vdEJlZm9yZQo=
-----END ERRORS-----

Powered by Google App Engine
This is Rietveld 408576698