aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'client.go')
-rw-r--r--client.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/client.go b/client.go
index 143b79e..38d9811 100644
--- a/client.go
+++ b/client.go
@@ -225,6 +225,10 @@ func (c *Client) Authorize(a *Account, domain []string) error {
KeyAuthorization: ka,
}
_, err = c.post(ch.URI, a, ans)
+ switch ch.Type {
+ case ChallengeHTTP:
+ httpChallenge{Addr: ":80", Challenge: *ans}.Solve()
+ }
}
}
}