Skip to content

Commit f34cb68

Browse files
committed
undo formatting changes
1 parent 28c787e commit f34cb68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/crypto/x509/verify.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,13 +578,13 @@ func (c *Certificate) isValid(certType int, currentChain []*Certificate, opts *V
578578
}
579579
if now.Before(c.NotBefore) {
580580
return CertificateInvalidError{
581-
Cert: c,
581+
Cert: c,
582582
Reason: Expired,
583583
Detail: fmt.Sprintf("current time %s is before %s", now.Format(time.RFC3339), c.NotBefore.Format(time.RFC3339)),
584584
}
585585
} else if now.After(c.NotAfter) {
586586
return CertificateInvalidError{
587-
Cert: c,
587+
Cert: c,
588588
Reason: Expired,
589589
Detail: fmt.Sprintf("current time %s is after %s", now.Format(time.RFC3339), c.NotAfter.Format(time.RFC3339)),
590590
}

0 commit comments

Comments
 (0)