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

Unified Diff: net/data/verify_certificate_chain_unittest/violates-basic-constraints-pathlen-0/generate-chains.py

Issue 2951403002: Update comments for net/data/verify_certificate_chain_unittest/ (Closed)
Patch Set: Created 3 years, 6 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/violates-basic-constraints-pathlen-0/chain.pem ('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/violates-basic-constraints-pathlen-0/generate-chains.py
diff --git a/net/data/verify_certificate_chain_unittest/violates-basic-constraints-pathlen-0/generate-chains.py b/net/data/verify_certificate_chain_unittest/violates-basic-constraints-pathlen-0/generate-chains.py
index e8092f7a3e4c0abdf40ca78db7f676aa26626052..a13bbdfabb3d0e47b834057b0e92656caae56d2d 100755
--- a/net/data/verify_certificate_chain_unittest/violates-basic-constraints-pathlen-0/generate-chains.py
+++ b/net/data/verify_certificate_chain_unittest/violates-basic-constraints-pathlen-0/generate-chains.py
@@ -3,16 +3,15 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""Certificate chain with 2 intermediates. The first intermediate has a basic
-constraints path length of 0, so it is a violation for it to have a subordinate
-intermediate."""
+"""Certificate chain where the intermediate sets pathlen=0, however
+violates this by issuing another (non-self-issued) intermediate."""
import sys
sys.path += ['..']
import common
-# Self-signed root certificate (used as trust anchor).
+# Self-signed root certificate.
root = common.create_self_signed_root_certificate('Root')
# Intermediate with pathlen 0
« no previous file with comments | « net/data/verify_certificate_chain_unittest/violates-basic-constraints-pathlen-0/chain.pem ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698