forked from TrueCloudLab/certificates
Remove extra and in comment.
This commit is contained in:
parent
1aadd63cef
commit
acd0bac025
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ func badRequest(format string, args ...interface{}) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Valid validates the certificate validity settings (notBefore/notAfter) and
|
// Valid validates the certificate validity settings (notBefore/notAfter) and
|
||||||
// and total duration.
|
// total duration.
|
||||||
func (v *validityValidator) Valid(cert *x509.Certificate, o SignOptions) error {
|
func (v *validityValidator) Valid(cert *x509.Certificate, o SignOptions) error {
|
||||||
var (
|
var (
|
||||||
na = cert.NotAfter.Truncate(time.Second)
|
na = cert.NotAfter.Truncate(time.Second)
|
||||||
|
|
Loading…
Reference in a new issue