This commit is contained in:
Brad Warren 2016-05-06 16:41:23 -07:00
parent a5fe088060
commit 7167a9e108

View file

@ -120,6 +120,13 @@ def supported_challenges_validator(data):
"""
challs = data.split(",")
# tls-sni-01 was dvsni during private beta
if "dvsni" in challs:
challs = [challenges.TLSSNI01.typ if chall == "dvsni" else chall
for chall in challs]
data = ",".join(challs)
unrecognized = [name for name in challs
if name not in challenges.Challenge.TYPES]
if unrecognized: