Skip to content

Commit 573e607

Browse files
committed
Removed commented code
1 parent c71b438 commit 573e607

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

vcert/policy/pm_cloud.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -88,30 +88,6 @@ def build_policy_spec(cit, ca_info, subject_cn_to_str=True):
8888
ca = f"{ca_info.ca_type}\\{ca_info.ca_account_key}\\{ca_info.vendor_name}"
8989
p.certificate_authority = ca
9090

91-
# s = Subject()
92-
# create_subject = False
93-
# if cit.SubjectORegexes is None:
94-
# s.orgs = [""]
95-
# elif len(cit.SubjectORegexes) > 0:
96-
# create_subject = True
97-
# s.orgs = cit.SubjectORegexes
98-
#
99-
# if len(cit.SubjectOURegexes) > 0:
100-
# create_subject = True
101-
# s.org_units = cit.SubjectOURegexes
102-
#
103-
# if len(cit.SubjectLRegexes) > 0:
104-
# create_subject = True
105-
# s.localities = cit.SubjectLRegexes
106-
#
107-
# if len(cit.SubjectSTRegexes) > 0:
108-
# create_subject = True
109-
# s.states = cit.SubjectSTRegexes
110-
#
111-
# if len(cit.SubjectCRegexes) > 0:
112-
# create_subject = True
113-
# s.countries = cit.SubjectCRegexes
114-
11591
p.subject = build_policy_spec_subject(cit)
11692

11793
kp = KeyPair()

0 commit comments

Comments
 (0)