aboutsummaryrefslogtreecommitdiff
path: root/certificate.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-03-06 02:52:52 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-03-06 02:52:52 +0100
commit42fd7f9f078aede87980781345d391256b184a32 (patch)
treebba79d4b2295c9f0b4a353129b2116013e4762ba /certificate.go
parent545a6a4999f1a42353a8e90b9fada6fbfccea38d (diff)
Export cert
Diffstat (limited to 'certificate.go')
-rw-r--r--certificate.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/certificate.go b/certificate.go
index 5a9c560..318f8bb 100644
--- a/certificate.go
+++ b/certificate.go
@@ -6,7 +6,7 @@ type CSR struct {
}
func (p *Provider) Bundle(s Signer, d *Desire) error {
- csr, err := NewCSR(d.cert, d.altnames)
+ csr, err := NewCSR(d.Cert, d.altnames)
if err != nil {
return err
}
@@ -18,7 +18,7 @@ func (p *Provider) Bundle(s Signer, d *Desire) error {
if err != nil {
return err
}
- d.cert.Certificate = [][]byte{crt, ca}
+ d.Cert.Certificate = [][]byte{crt, ca}
return nil
}