aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desire.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/desire.go b/desire.go
index 3b4a1f1..6c5a163 100644
--- a/desire.go
+++ b/desire.go
@@ -96,7 +96,7 @@ func (d *Desire) CSR() (string, error) {
return base64.RawURLEncoding.EncodeToString(der), nil
}
-func (d Desire) satisficed(c []Challenge, com []int) bool {
+func (d Desire) supported(c []Challenge, com []int) bool {
for _, n := range com {
if _, ok := d.solver[c[n].Type]; !ok {
return false
@@ -108,7 +108,7 @@ func (d Desire) satisficed(c []Challenge, com []int) bool {
func (d Desire) pick(a *Authorization) []Challenge {
var c []Challenge
for _, com := range a.Combinations {
- if d.satisficed(a.Challenges, com) {
+ if d.supported(a.Challenges, com) {
for _, n := range com {
ch := a.Challenges[n]
ch.Solver = d.solver[ch.Type]