aboutsummaryrefslogtreecommitdiff
path: root/authorize.go
diff options
context:
space:
mode:
Diffstat (limited to 'authorize.go')
-rw-r--r--authorize.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/authorize.go b/authorize.go
index c6ea6d6..893764c 100644
--- a/authorize.go
+++ b/authorize.go
@@ -47,7 +47,7 @@ func (a Authorization) Supported(sols Solvers) []Challenge {
return nil
}
-func (p *Provider) Authorize(s *Signer, sols Solvers, domain string) error {
+func (p *Provider) Authorize(sols Solvers, domain string) error {
req := &Authorization{
Resource: ResNewAuthz,
Identifier: Identifier{
@@ -55,7 +55,7 @@ func (p *Provider) Authorize(s *Signer, sols Solvers, domain string) error {
Value: domain,
},
}
- resp, err := p.post(p.NewAuthz, s, req)
+ resp, err := p.post(p.NewAuthz, req)
if err != nil {
return err
}
@@ -63,7 +63,7 @@ func (p *Provider) Authorize(s *Signer, sols Solvers, domain string) error {
return err
}
for _, ch := range req.Supported(sols) {
- if err := p.Solve(s, ch, sols[ch.Type]); err != nil {
+ if err := p.Solve(ch, sols[ch.Type]); err != nil {
return err
}
}