Fix DNS-01 challenge resource property

This commit is contained in:
xenolf 2016-01-25 00:32:47 +01:00
parent 08cd016ed3
commit 50031525c9

View file

@ -65,7 +65,7 @@ func (s *dnsChallenge) Solve(chlng challenge, domain string) error {
preCheckDNS(domain, fqdn)
return s.validate(s.jws, domain, chlng.URI, chlng)
return s.validate(s.jws, domain, chlng.URI, challenge{Resource: "challenge", Type: chlng.Type, Token: chlng.Token, KeyAuthorization: keyAuth})
}
func checkDNS(domain, fqdn string) bool {