Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Herman Slatman <[email protected]>
  • Loading branch information
maraino and hslatman authored Jul 24, 2024
1 parent 3eb2564 commit 2f0500a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion command/certificate/fingerprint.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func fingerprintAction(ctx *cli.Context) error {
if csrErr != nil {
return err
}
// We will only need the raw the generate a fingerprint.
// We will only need the raw DER bytes to generate a fingerprint.
certs = []*x509.Certificate{
{Raw: csr.Raw},
}
Expand Down
2 changes: 1 addition & 1 deletion token/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func WithConfirmationFingerprint(fp string) Options {

// WithFingerprint returns an Options function that the cnf claims with
// "x5rt#S256" representing the fingerprint of the CSR
func WithFingerprint(v interface{}) Options {
func WithFingerprint(v any) Options {
return func(c *Claims) error {
var data []byte
switch vv := v.(type) {
Expand Down

0 comments on commit 2f0500a

Please sign in to comment.