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

Unified Diff: net/data/verify_certificate_chain_unittest/violates-pathlen-1-constrained-root/chain.pem

Issue 2805213004: Refactor how net/data/verify_certificate_chain_unittest/* (Closed)
Patch Set: fix android Created 3 years, 8 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/violates-pathlen-1-constrained-root/chain.pem
diff --git a/net/data/verify_certificate_chain_unittest/violates-pathlen-1-constrained-root.pem b/net/data/verify_certificate_chain_unittest/violates-pathlen-1-constrained-root/chain.pem
similarity index 96%
rename from net/data/verify_certificate_chain_unittest/violates-pathlen-1-constrained-root.pem
rename to net/data/verify_certificate_chain_unittest/violates-pathlen-1-constrained-root/chain.pem
index 76fb0ab330dc92f0b265e752620c510f9b36b256..c0956c5f87f3ac1e47a7916f70a5777ee2cace3a 100644
--- a/net/data/verify_certificate_chain_unittest/violates-pathlen-1-constrained-root.pem
+++ b/net/data/verify_certificate_chain_unittest/violates-pathlen-1-constrained-root/chain.pem
@@ -1,4 +1,4 @@
-[Created by: generate-violates-pathlen-1-constrained-root.py]
+[Created by: generate-chains.py]
Certificate chain with 2 intermediates and one end entity certificate. The
root certificate has a pathlen:1 restriction, and constraints are enforced
@@ -339,7 +339,7 @@ Certificate:
00:91:54:fe:9f:b5:a2:9d:52:68:20:29:1d:02:ed:cb:22:4e:
d9:a3:c6:84:ab:b4:69:b7:83:7d:bc:f2:41:ec:37:38:df:9d:
5b:11:56:c0
------BEGIN TRUST_ANCHOR_CONSTRAINED-----
+-----BEGIN CERTIFICATE-----
MIIDaDCCAlCgAwIBAgIBATANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDDARSb290
MB4XDTE1MDEwMTEyMDAwMFoXDTE2MDEwMTEyMDAwMFowDzENMAsGA1UEAwwEUm9v
dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALNiQDNznMlkrTBSc3gA
@@ -359,27 +359,4 @@ I/WIC2ancmjATjhMT3UOVevuNuweEQWh30vPoEnQgnRLa+xnYSQAxIFo13Q2gnlF
qyQhF3BEO+OWEn5oSkq8PIFyz1LD6awB35s4DcK5hDPgYGQUtLPFeXyvzcmeRJW2
yyN/B8bsZ0SqS4CMyLTnta8HfA4AkVT+n7WinVJoICkdAu3LIk7Zo8aEq7Rpt4N9
vPJB7Dc4351bEVbA
------END TRUST_ANCHOR_CONSTRAINED-----
-
-150302120000Z
------BEGIN TIME-----
-MTUwMzAyMTIwMDAwWg==
------END TIME-----
-
-FAIL
------BEGIN VERIFY_RESULT-----
-RkFJTA==
------END VERIFY_RESULT-----
-
-serverAuth
------BEGIN KEY_PURPOSE-----
-c2VydmVyQXV0aA==
------END KEY_PURPOSE-----
-
------ Certificate i=1 (CN=Intermediate2) -----
-ERROR: max_path_length reached
-
-
------BEGIN ERRORS-----
-LS0tLS0gQ2VydGlmaWNhdGUgaT0xIChDTj1JbnRlcm1lZGlhdGUyKSAtLS0tLQpFUlJPUjogbWF4X3BhdGhfbGVuZ3RoIHJlYWNoZWQKCg==
------END ERRORS-----
+-----END CERTIFICATE-----

Powered by Google App Engine
This is Rietveld 408576698