aboutsummaryrefslogtreecommitdiff
path: root/provider.go
diff options
context:
space:
mode:
Diffstat (limited to 'provider.go')
-rw-r--r--provider.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/provider.go b/provider.go
index ecb1bfd..f671c32 100644
--- a/provider.go
+++ b/provider.go
@@ -20,10 +20,10 @@ type Provider struct {
}
var (
- errNoNonces = errors.New("out of nonces")
- errContentType = errors.New("unknown content type")
- errChallengeType = errors.New("unknown challenge")
- errStatus = errors.New("unexpected status")
+ errNoNonces = errors.New("out of nonces")
+ errContentType = errors.New("unknown content type")
+ errChalType = errors.New("unknown challenge")
+ errStatus = errors.New("unexpected status")
)
const (
@@ -194,7 +194,7 @@ func (p *Provider) solve(s Signer, ch Challenge) error {
return ch.Solved()
}
-func (p *Provider) authz(s Signer, domain string, sol map[ChallengeType]Solver) error {
+func (p *Provider) authz(s Signer, domain string, sol map[ChalType]Solver) error {
// first step: pocke
r := &Authorization{
Resource: ResNewAuthz,