Skip to content

Commit f0dd856

Browse files
committedFeb 17, 2020
fix SAN
1 parent b6f89c4 commit f0dd856

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ VENV ?= $(PRJ_DIR)venv
99
PKGVENV ?= $(PRJ_DIR)pkg_venv
1010

1111
install: $(VENV) setup.py
12-
$(VENV)/bin/python -m pip install -U .[sqlite,redis,dev]
12+
$(VENV)/bin/python -m pip install -U .
1313

1414
$(VENV):
1515
$(PYTHON) -m venv $(VENV)

‎quickcerts/__main__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ def ensure_end_entity_cert(output_dir, names, ca_private_key, ca_cert, end_entit
171171
x509.SubjectKeyIdentifier.from_public_key(end_entity_public_key),
172172
critical=False)
173173
if is_server:
174-
end_entity_cert_builder.add_extension(
174+
end_entity_cert_builder = end_entity_cert_builder.add_extension(
175175
x509.SubjectAlternativeName(
176-
[x509.DNSName(name) for name in names]
176+
[x509.DNSName(n) for n in names]
177177
),
178178
critical=False
179179
)

0 commit comments

Comments
 (0)