Skip to content

Commit

Permalink
golangci: fix linter error
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Feb 20, 2024
1 parent e2bc883 commit d13a63a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/atls/atls.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func getATLSConfigForClientFunc(issuer Issuer, validators []Validator) (func(*tl
}

// this function will be called once for every client
return func(chi *tls.ClientHelloInfo) (*tls.Config, error) {
return func(_ *tls.ClientHelloInfo) (*tls.Config, error) {
// generate nonce for this connection
serverNonce, err := crypto.GenerateRandomBytes(crypto.RNGLengthDefault)
if err != nil {
Expand Down

0 comments on commit d13a63a

Please sign in to comment.