aboutsummaryrefslogtreecommitdiff
path: root/cmd/acme/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/acme/config.go')
-rw-r--r--cmd/acme/config.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/cmd/acme/config.go b/cmd/acme/config.go
index 36d5f46..bec6a19 100644
--- a/cmd/acme/config.go
+++ b/cmd/acme/config.go
@@ -1,7 +1,6 @@
package main
import (
- "crypto/x509"
"errors"
"io/ioutil"
"os/user"
@@ -170,10 +169,3 @@ func checkWWW(altnames []string) []string {
}
return altnames
}
-
-func (d domain) needsRenew(cert *x509.Certificate) bool {
- if cert == nil {
- return true
- }
- return time.Now().Add(d.Gracetime).After(cert.NotAfter)
-}