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

Unified Diff: net/data/verify_certificate_chain_unittest/target-and-intermediate/unspecified-trust-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
« no previous file with comments | « net/data/verify_certificate_chain_unittest/target-and-intermediate/distrusted-root.test ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/data/verify_certificate_chain_unittest/target-and-intermediate/unspecified-trust-root.test
diff --git a/net/data/verify_certificate_chain_unittest/target-and-intermediate/unspecified-trust-root.test b/net/data/verify_certificate_chain_unittest/target-and-intermediate/unspecified-trust-root.test
new file mode 100644
index 0000000000000000000000000000000000000000..6473e3d0b843657ad8e61869b387ae55abe1efb9
--- /dev/null
+++ b/net/data/verify_certificate_chain_unittest/target-and-intermediate/unspecified-trust-root.test
@@ -0,0 +1,8 @@
+chain: chain.pem
+last_cert_trust: UNSPECIFIED
+utc_time: 150302120000Z
+key_purpose: SERVER_AUTH
+expected_errors:
+----- Certificate i=2 (CN=Root) -----
+ERROR: Certificate is not a trust anchor
+
« no previous file with comments | « net/data/verify_certificate_chain_unittest/target-and-intermediate/distrusted-root.test ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698