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

Unified Diff: net/data/verify_certificate_chain_unittest/incorrect-trust-anchor/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/incorrect-trust-anchor/chain.pem
diff --git a/net/data/verify_certificate_chain_unittest/incorrect-trust-anchor.pem b/net/data/verify_certificate_chain_unittest/incorrect-trust-anchor/chain.pem
similarity index 94%
rename from net/data/verify_certificate_chain_unittest/incorrect-trust-anchor.pem
rename to net/data/verify_certificate_chain_unittest/incorrect-trust-anchor/chain.pem
index 4c7ba693fc8e5ceac8afb46bf424bdd0a9208151..d363a061b5c7547bff115d16d9d1fe1fe2326052 100644
--- a/net/data/verify_certificate_chain_unittest/incorrect-trust-anchor.pem
+++ b/net/data/verify_certificate_chain_unittest/incorrect-trust-anchor/chain.pem
@@ -1,4 +1,4 @@
-[Created by: generate-incorrect-trust-anchor.py]
+[Created by: generate-chains.py]
Certificate chain with 1 intermediate, but the trust anchor used is
incorrect (neither subject nor signature matches). Verification is expected to
@@ -250,7 +250,7 @@ Certificate:
a5:98:6b:bc:6e:3b:4b:c1:0c:10:ae:90:e7:9e:c3:b8:cd:08:
ea:80:55:9f:74:1c:6e:9f:2a:5c:76:b5:45:84:4d:62:cd:fd:
68:12:d8:8c
------BEGIN TRUST_ANCHOR_UNCONSTRAINED-----
+-----BEGIN CERTIFICATE-----
MIIDeTCCAmGgAwIBAgIBATANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDDAlCb2d1
c1Jvb3QwHhcNMTUwMTAxMTIwMDAwWhcNMTYwMTAxMTIwMDAwWjAUMRIwEAYDVQQD
DAlCb2d1c1Jvb3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC4yC/c
@@ -270,29 +270,4 @@ GznYesmh1gdQAv25iSzHA5Yoxqn9TlXxLMABx66u6qTpKuRXNS3vlYz019R8Ne1/
Fv2BnJsexSyd9Abaj7tvm2T/M5ugqfffbK5IezRqBcVu3jHlZMWAiEWrKXw57F+Y
z84j9OcGmcHJtgSM2H17jOSkh+5/ZrLVkmEsVpuGXA2OaITJlqWYa7xuO0vBDBCu
kOeew7jNCOqAVZ90HG6fKlx2tUWETWLN/WgS2Iw=
------END TRUST_ANCHOR_UNCONSTRAINED-----
-
-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=Intermediate) -----
-ERROR: Signature verification failed
-ERROR: VerifySignedData failed
-ERROR: subject does not match issuer
-
-
------BEGIN ERRORS-----
-LS0tLS0gQ2VydGlmaWNhdGUgaT0xIChDTj1JbnRlcm1lZGlhdGUpIC0tLS0tCkVSUk9SOiBTaWduYXR1cmUgdmVyaWZpY2F0aW9uIGZhaWxlZApFUlJPUjogVmVyaWZ5U2lnbmVkRGF0YSBmYWlsZWQKRVJST1I6IHN1YmplY3QgZG9lcyBub3QgbWF0Y2ggaXNzdWVyCgo=
------END ERRORS-----
+-----END CERTIFICATE-----

Powered by Google App Engine
This is Rietveld 408576698