aboutsummaryrefslogtreecommitdiff
path: root/authorize.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-03-10 09:35:46 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-03-10 09:35:46 +0100
commit04a2552f1405072731b1834940567413cfdcd119 (patch)
tree0ec9cd20f5d3ebe279bbc80b10b9b7d970cb4755 /authorize.go
parent6b8aa1d5fd835472d32ceb93ed5a7669fd6c987b (diff)
Encapsulate solver map
Diffstat (limited to 'authorize.go')
-rw-r--r--authorize.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/authorize.go b/authorize.go
index 54b682d..843b7a7 100644
--- a/authorize.go
+++ b/authorize.go
@@ -23,7 +23,7 @@ type IdentType string
const IdentDNS IdentType = "dns"
-func (a Authorization) Supported(sol map[ChalType]Solver) []Challenge {
+func (a Authorization) Supported(sol Solvers) []Challenge {
supported := func(com []int) bool {
for _, n := range com {
if _, ok := sol[a.Challenges[n].Type]; !ok {