From 510e7288aa74c7660e725863f29424e76c475b31 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 27 Dec 2015 02:21:22 +0100 Subject: We can authorize only one domain at time --- client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client.go') diff --git a/client.go b/client.go index ec5022b..6b356fe 100644 --- a/client.go +++ b/client.go @@ -212,10 +212,10 @@ func pickChallenge(c []Challenge) (int, Challenge) { return -1, Challenge{} } -func (c *Client) Authorize(s ThumbSigner, altnames []string) error { +func (c *Client) Authorize(s ThumbSigner, domain string) error { ident := Identifier{ Type: IdentDNS, - Value: altnames[0], + Value: domain, } r := &Authorization{ Resource: ResNewAuthz, -- cgit v1.2.3