diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2016-01-15 23:41:34 +0100 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2016-01-15 23:41:34 +0100 |
commit | 5af20841fa5c341ea4d18c4c1e99946d12fffb08 (patch) | |
tree | 9f92ed0721a2d2b54a989048721d3115490ed074 /provider.go | |
parent | 160175a8d8378e2c6e058e802bdaaea118ab03d2 (diff) |
Reduce
Diffstat (limited to 'provider.go')
-rw-r--r-- | provider.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/provider.go b/provider.go index 51f17ca..79aa959 100644 --- a/provider.go +++ b/provider.go @@ -211,8 +211,11 @@ func (p *Provider) solve(s Signer, ch Challenge) error { func (p *Provider) Authorize(s Signer, d *Desire) error { for _, domain := range d.altnames { r := &Authorization{ - Resource: ResNewAuthz, - Identifier: NewIdent(domain), + Resource: ResNewAuthz, + Identifier: Identifier{ + Type: IdentDNS, + Value: domain, + }, } _, err := p.postJson(p.NewAuthz, s, r) |