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

Unified Diff: net/data/verify_certificate_chain_unittest/constrained-root-bad-eku/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/constrained-root-bad-eku/chain.pem
diff --git a/net/data/verify_certificate_chain_unittest/constrained-root-bad-eku.pem b/net/data/verify_certificate_chain_unittest/constrained-root-bad-eku/chain.pem
similarity index 95%
rename from net/data/verify_certificate_chain_unittest/constrained-root-bad-eku.pem
rename to net/data/verify_certificate_chain_unittest/constrained-root-bad-eku/chain.pem
index 1bd3379896dc0fb50e1948faa3396ddc61625aa0..02924f7e0cf31de4a4472ebb8b8820419ef2c630 100644
--- a/net/data/verify_certificate_chain_unittest/constrained-root-bad-eku.pem
+++ b/net/data/verify_certificate_chain_unittest/constrained-root-bad-eku/chain.pem
@@ -1,4 +1,4 @@
-[Created by: generate-constrained-root-bad-eku.py]
+[Created by: generate-chains.py]
Certificate chain with 1 intermediate and a trust anchor. The trust anchor
has an EKU that restricts it to clientAuth. Verification is expected to fail as
@@ -253,7 +253,7 @@ Certificate:
87:cf:39:c9:55:38:e0:29:a6:19:e9:62:21:8d:f0:1b:9d:31:
c9:c3:93:12:fd:b3:0e:83:fc:21:dc:bb:df:09:a6:57:6e:18:
58:ff:ad:73
------BEGIN TRUST_ANCHOR_CONSTRAINED-----
+-----BEGIN CERTIFICATE-----
MIIDejCCAmKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDDARSb290
MB4XDTE1MDEwMTEyMDAwMFoXDTE2MDEwMTEyMDAwMFowDzENMAsGA1UEAwwEUm9v
dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANniCKxGTz7JLA4bLg3L
@@ -273,27 +273,4 @@ e3pmOjOgwgylRBCb5PlKCUMC4AHK/cKxBzHIaw3syMFPUy4QG9mKQgB01czsR1HF
EmOn8pNPDs2CPHA7n8gMn1v6FUfl5m1dN3z64qJLqti+xC7lPnGuyXt5hhwpPADj
1ZswIxLAMxJ9NoyZy2o5dPqPbo9cU25TlFnJWX0ePOKsMkNeTBSHzznJVTjgKaYZ
6WIhjfAbnTHJw5MS/bMOg/wh3LvfCaZXbhhY/61z
------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=2 (CN=Root) -----
-ERROR: The extended key usage does not include server auth
-
-
------BEGIN ERRORS-----
-LS0tLS0gQ2VydGlmaWNhdGUgaT0yIChDTj1Sb290KSAtLS0tLQpFUlJPUjogVGhlIGV4dGVuZGVkIGtleSB1c2FnZSBkb2VzIG5vdCBpbmNsdWRlIHNlcnZlciBhdXRoCgo=
------END ERRORS-----
+-----END CERTIFICATE-----

Powered by Google App Engine
This is Rietveld 408576698