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

Side by Side Diff: net/data/verify_certificate_chain_unittest/violates-pathlen-1-constrained-root.pem

Issue 2759023002: Improvements to the net/cert/internal error handling. (Closed)
Patch Set: fix comment Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 [Created by: generate-violates-pathlen-1-constrained-root.py] 1 [Created by: generate-violates-pathlen-1-constrained-root.py]
2 2
3 Certificate chain with 2 intermediates and one end entity certificate. The 3 Certificate chain with 2 intermediates and one end entity certificate. The
4 root certificate has a pathlen:1 restriction, and constraints are enforced 4 root certificate has a pathlen:1 restriction, and constraints are enforced
5 on this trust anchor making it an invalid chain. 5 on this trust anchor making it an invalid chain.
6 6
7 Certificate: 7 Certificate:
8 Data: 8 Data:
9 Version: 3 (0x2) 9 Version: 3 (0x2)
10 Serial Number: 1 (0x1) 10 Serial Number: 1 (0x1)
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 150302120000Z 364 150302120000Z
365 -----BEGIN TIME----- 365 -----BEGIN TIME-----
366 MTUwMzAyMTIwMDAwWg== 366 MTUwMzAyMTIwMDAwWg==
367 -----END TIME----- 367 -----END TIME-----
368 368
369 FAIL 369 FAIL
370 -----BEGIN VERIFY_RESULT----- 370 -----BEGIN VERIFY_RESULT-----
371 RkFJTA== 371 RkFJTA==
372 -----END VERIFY_RESULT----- 372 -----END VERIFY_RESULT-----
373 373
374 [Context] Processing Certificate 374 ----- Certificate i=1 (CN=Intermediate2) -----
375 index: 1 375 ERROR: max_path_length reached
376 [Error] max_path_length reached 376
377 377
378 -----BEGIN ERRORS----- 378 -----BEGIN ERRORS-----
379 W0NvbnRleHRdIFByb2Nlc3NpbmcgQ2VydGlmaWNhdGUKICBpbmRleDogMQogICAgICBbRXJyb3JdIG1h eF9wYXRoX2xlbmd0aCByZWFjaGVkCg== 379 LS0tLS0gQ2VydGlmaWNhdGUgaT0xIChDTj1JbnRlcm1lZGlhdGUyKSAtLS0tLQpFUlJPUjogbWF4X3Bh dGhfbGVuZ3RoIHJlYWNoZWQKCg==
380 -----END ERRORS----- 380 -----END ERRORS-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698