Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
  • Loading branch information
maraino and hslatman authored Mar 25, 2023
1 parent 6574a3c commit 797be4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kms/yubikey/yubikey.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ func getPolicies(req *apiv1.CreateKeyRequest) (piv.PINPolicy, piv.TouchPolicy) {
}

// getSerialNumber returns the serial number from an attestation certificate. It
// will return an empty string if it the serial number extension does not exists
// will return an empty string if the serial number extension does not exist
// or if it is malformed.
func getSerialNumber(cert *x509.Certificate) string {
for _, ext := range cert.Extensions {
Expand Down

0 comments on commit 797be4d

Please sign in to comment.