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

Unified Diff: net/data/verify_certificate_chain_unittest/target-and-intermediate/distrusted-root.test

Issue 2860853003: Add tests for VerifyCertificateChain() when the last certificate is not (Closed)
Patch Set: update for ios Created 3 years, 7 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/target-and-intermediate/distrusted-root.test
diff --git a/net/data/verify_certificate_chain_unittest/target-and-intermediate/distrusted-root.test b/net/data/verify_certificate_chain_unittest/target-and-intermediate/distrusted-root.test
new file mode 100644
index 0000000000000000000000000000000000000000..6ba5e0161e56a7245b7aeb845ab5ef50cc7df3cc
--- /dev/null
+++ b/net/data/verify_certificate_chain_unittest/target-and-intermediate/distrusted-root.test
@@ -0,0 +1,8 @@
+chain: chain.pem
+last_cert_trust: DISTRUSTED
+utc_time: 150302120000Z
+key_purpose: SERVER_AUTH
+expected_errors:
+----- Certificate i=2 (CN=Root) -----
+ERROR: Certificate is distrusted
+

Powered by Google App Engine
This is Rietveld 408576698