aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-12-27 14:00:25 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-12-27 14:00:25 +0100
commit55dcdf2c6142c0c6fa39067d304bae2fbac3db95 (patch)
tree6d5f86780f26f9c0cc406aa6663a9f6189e7bf56 /client.go
parentaa306b364160beb6166ef436d033baf4e7a1b9bb (diff)
Split functions
Diffstat (limited to 'client.go')
-rw-r--r--client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.go b/client.go
index 6b356fe..9bed81d 100644
--- a/client.go
+++ b/client.go
@@ -232,7 +232,7 @@ func (c *Client) Authorize(s ThumbSigner, domain string) error {
return errors.New("can't solve any challenges")
}
- ka, _ := s.Thumb(ch.Token)
+ ka, _ := KeyAuthorization(s, ch.Token)
ans := &Challenge{
Resource: ResChallenge,
Type: ch.Type,