aboutsummaryrefslogtreecommitdiff
path: root/certificate.go
diff options
context:
space:
mode:
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
}