From 022ae3d77b4874a29b606e7a39cd6cd3f55d16c3 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Wed, 10 Aug 2022 16:34:34 -0700 Subject: [PATCH] Fix comment format --- x509util/certificate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x509util/certificate.go b/x509util/certificate.go index bef19105..a3c1956c 100644 --- a/x509util/certificate.go +++ b/x509util/certificate.go @@ -68,8 +68,8 @@ func NewCertificate(cr *x509.CertificateRequest, opts ...Option) (*Certificate, cert.PublicKey = cr.PublicKey cert.PublicKeyAlgorithm = cr.PublicKeyAlgorithm - // Generate the subjectAltName extension if the certificate contains - // SANs that are not supported in the Go standard library. + // Generate the subjectAltName extension if the certificate contains SANs + // that are not supported in the Go standard library. if cert.hasExtendedSANs() && !cert.hasExtension(oidExtensionSubjectAltName) { ext, err := createSubjectAltNameExtension(&cert, cert.Subject.IsEmpty()) if err != nil {