From 35a00d3f93df9b90a01c2d8e0ca0b2ee10d964f8 Mon Sep 17 00:00:00 2001 From: Sean DuBois Date: Fri, 15 Mar 2024 22:27:28 -0400 Subject: [PATCH] Fix linter errors golangci-lint upgrade to v1.56.2 added more checks Relates to pion/.goassets#201 --- e2e/e2e_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/e2e_test.go b/e2e/e2e_test.go index 4a8dd5d54..e0ca90977 100644 --- a/e2e/e2e_test.go +++ b/e2e/e2e_test.go @@ -325,7 +325,7 @@ func testPionE2ESimplePSK(t *testing.T, server, client func(*comm), opts ...dtls defer cancel() cfg := &dtls.Config{ - PSK: func(hint []byte) ([]byte, error) { + PSK: func([]byte) ([]byte, error) { return []byte{0xAB, 0xC1, 0x23}, nil }, PSKIdentityHint: []byte{0x01, 0x02, 0x03, 0x04, 0x05},