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

Unified Diff: net/data/verify_certificate_chain_unittest/non-self-signed-root/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
Index: net/data/verify_certificate_chain_unittest/non-self-signed-root/generate-chains.py
diff --git a/net/data/verify_certificate_chain_unittest/non-self-signed-root/generate-chains.py b/net/data/verify_certificate_chain_unittest/non-self-signed-root/generate-chains.py
index 858b18e31780cc7fb94a91c1f440f149aae72d0e..7c6d6d8a3955631e23366489a3106d36b5481dc2 100755
--- a/net/data/verify_certificate_chain_unittest/non-self-signed-root/generate-chains.py
+++ b/net/data/verify_certificate_chain_unittest/non-self-signed-root/generate-chains.py
@@ -3,9 +3,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""Certificate chain with 1 intermediate and a trusted root. The trusted root
-is NOT self signed, however its issuer is not included in the chain or root
-store. Verification is expected to succeed since the root is trusted."""
+"""Certificate chain where the root certificate is not self-signed (or
+self-issued for that matter)."""
import sys
sys.path += ['..']
@@ -14,7 +13,7 @@ import common
shadow_root = common.create_self_signed_root_certificate('ShadowRoot')
-# Non-self-signed root (part of trust store).
+# Non-self-signed root certificate.
root = common.create_intermediate_certificate('Root', shadow_root)
# Intermediate certificate.

Powered by Google App Engine
This is Rietveld 408576698