Skip to content

Commit 69660dc

Browse files
marainohslatman
andcommitted
Apply suggestions from code review
Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
1 parent f6e8fe8 commit 69660dc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kms/mackms/mackms.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ func (k *MacKMS) LoadCertificate(req *apiv1.LoadCertificateRequest) (*x509.Certi
356356
//
357357
// Valid names (URIs) are:
358358
// - "" will use the common name as the label
359-
// - "mackms:" will use the common
359+
// - "mackms:" will use the common name
360360
// - "mackms:label=my-label" will use "my-label"
361361
// - "mackms:my-label" will use the "my-label"
362362
func (k *MacKMS) StoreCertificate(req *apiv1.StoreCertificateRequest) error {
@@ -706,7 +706,6 @@ func isSelfSigned(cert *x509.Certificate) bool {
706706
}
707707

708708
return false
709-
710709
}
711710

712711
func loadCertificate(label string, serialNumber *big.Int, subjectKeyID []byte) (*x509.Certificate, error) {

0 commit comments

Comments
 (0)