summaryrefslogtreecommitdiff
path: root/src/pkg/crypto/x509/pkix/pkix.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/crypto/x509/pkix/pkix.go')
-rw-r--r--src/pkg/crypto/x509/pkix/pkix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/crypto/x509/pkix/pkix.go b/src/pkg/crypto/x509/pkix/pkix.go
index 738659011..5034946f7 100644
--- a/src/pkg/crypto/x509/pkix/pkix.go
+++ b/src/pkg/crypto/x509/pkix/pkix.go
@@ -144,7 +144,7 @@ type CertificateList struct {
SignatureValue asn1.BitString
}
-// HasExpired returns true iff now is past the expiry time of certList.
+// HasExpired reports whether now is past the expiry time of certList.
func (certList *CertificateList) HasExpired(now time.Time) bool {
return now.After(certList.TBSCertList.NextUpdate)
}