Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
grindsa committed Dec 20, 2024
1 parent 1a5148f commit be805a0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions examples/ca_handler/est_ca_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,15 +293,15 @@ def enroll(self, csr: str) -> Tuple[str, str, str, bool]:
error = None
cert_raw = None

# recode csr
csr = textwrap.fill(b64_url_recode(self.logger, csr), 64) + '\n'

if self.est_host:
(error, ca_pem) = self._cacerts_get()
# check for allowed domainlist
error = allowed_domainlist_check_error(self.logger, csr, self.allowed_domainlist)

if not error:
# check for allowed domainlist
error = allowed_domainlist_check_error(self.logger, csr, self.allowed_domainlist)
# recode csr
csr = textwrap.fill(b64_url_recode(self.logger, csr), 64) + '\n'

if self.est_host:
(error, ca_pem) = self._cacerts_get()

if not error:
if ca_pem:
Expand Down

0 comments on commit be805a0

Please sign in to comment.