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

Unified Diff: net/data/verify_certificate_chain_unittest/target-unknown-critical-extension/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/target-unknown-critical-extension/generate-chains.py
diff --git a/net/data/verify_certificate_chain_unittest/target-unknown-critical-extension/generate-chains.py b/net/data/verify_certificate_chain_unittest/target-unknown-critical-extension/generate-chains.py
index f1d43a4dbb736f9b41b87fdb727933c911ef1f84..ce94161b6c71070982db8e12740c190c1d85a7a1 100755
--- a/net/data/verify_certificate_chain_unittest/target-unknown-critical-extension/generate-chains.py
+++ b/net/data/verify_certificate_chain_unittest/target-unknown-critical-extension/generate-chains.py
@@ -3,17 +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 1 intermediate and a trusted root. The target
-certificate has an unknown X.509v3 extension (OID=1.2.3.4) that is marked as
-critical. Verifying this certificate chain is expected to fail because there is
-an unrecognized critical extension."""
+"""Certificate chain where the target certificate contains an unknown X.509v3
+extension (OID=1.2.3.4) that is marked as critical."""
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 certificate.

Powered by Google App Engine
This is Rietveld 408576698