We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1913e3c commit e23896fCopy full SHA for e23896f
dsse/sign_test.go
@@ -41,11 +41,11 @@ func TestPAE(t *testing.T) {
41
42
type nilsigner int
43
44
-func (n nilsigner) Sign(_ context.Context, data []byte) ([]byte, error) {
+func (n nilsigner) Sign(ctx context.Context, data []byte) ([]byte, error) {
45
return data, nil
46
}
47
48
-func (n nilsigner) Verify(_ context.Context, data, sig []byte) error {
+func (n nilsigner) Verify(ctx context.Context, data, sig []byte) error {
49
if len(data) != len(sig) {
50
return errLength
51
0 commit comments