aboutsummaryrefslogtreecommitdiff
path: root/authorize.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-03-10 09:38:03 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-03-10 09:38:03 +0100
commit3d02f4993743b6d4010c87afc168bfd08ffd1e70 (patch)
tree67427b8955d6507f28857298cdac771ea55aa493 /authorize.go
parent04a2552f1405072731b1834940567413cfdcd119 (diff)
Be consistent
Diffstat (limited to 'authorize.go')
-rw-r--r--authorize.go4
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
}
}