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

Unified Diff: net/data/name_constraints_unittest/generate_name_constraints.py

Issue 1686003002: Fix GeneralName directoryName parsing in new (unused) name constraints code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/name_constraints_unittest/generate_name_constraints.py
diff --git a/net/data/name_constraints_unittest/generate_name_constraints.py b/net/data/name_constraints_unittest/generate_name_constraints.py
index 5f9fa4d7d7ad3c8b5196fea0b29962cddb4ceafc..37ed005ab4710dae9be9c886b1b782e218eb1460 100755
--- a/net/data/name_constraints_unittest/generate_name_constraints.py
+++ b/net/data/name_constraints_unittest/generate_name_constraints.py
@@ -137,7 +137,7 @@ def x400_address():
def directory_name(name):
return str(name).replace(
- 'asn1 = SEQUENCE', 'directoryName = IMPLICIT:4,SEQUENCE')
+ 'asn1 = SEQUENCE', 'directoryName = EXPLICIT:4,SEQUENCE')
def edi_party_name():

Powered by Google App Engine
This is Rietveld 408576698