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 992acb7..90508c1 100644
--- a/certificate.go
+++ b/certificate.go
@@ -10,9 +10,9 @@ type CSR struct {
CSR string `json:"csr"`
}
-func (p *Provider) Bundle(key crypto.PrivateKey, altnames []string, email string) (tls.Certificate, error) {
+func (p *Provider) Bundle(key crypto.PrivateKey, altnames []string) (tls.Certificate, error) {
cert := tls.Certificate{PrivateKey: key}
- csr, err := NewCSR(key, altnames, email)
+ csr, err := NewCSR(key, altnames)
if err != nil {
return cert, err
}