Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
bmw committed Nov 3, 2018
1 parent a1af42b commit 20bcb11
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions certbot/auth_handler.py
Expand Up @@ -113,6 +113,11 @@ def _choose_challenges(self, aauthzrs):
aauthzr.authzr, path)
aauthzr.achalls.extend(aauthzr_achalls)

for aauthzr in aauthzrs:
for achall in aauthzr.achalls:
if isinstance(achall.chall, challenges.TLSSNI01):
logger.warning("Stop it")

def _has_challenges(self, aauthzrs):
"""Do we have any challenges to perform?"""
return any(aauthzr.achalls for aauthzr in aauthzrs)
Expand Down

0 comments on commit 20bcb11

Please sign in to comment.