1
0
mirror of https://github.com/go-acme/lego.git synced 2025-01-26 06:55:18 +02:00

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 {