diff options
Diffstat (limited to 'authorize.go')
-rw-r--r-- | authorize.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/authorize.go b/authorize.go index 843b7a7..42a9039 100644 --- a/authorize.go +++ b/authorize.go @@ -23,10 +23,10 @@ type IdentType string const IdentDNS IdentType = "dns" -func (a Authorization) Supported(sol Solvers) []Challenge { +func (a Authorization) Supported(sols Solvers) []Challenge { supported := func(com []int) bool { for _, n := range com { - if _, ok := sol[a.Challenges[n].Type]; !ok { + if _, ok := sols[a.Challenges[n].Type]; !ok { return false } } |