Skip to content

Commit

Permalink
Fix v4a tests broken in Go 1.20 (#2017)
Browse files Browse the repository at this point in the history
  • Loading branch information
djedward authored Feb 14, 2023
1 parent d053f9b commit 1dcf243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/v4a/shared_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

var stubCredentials = stubCredentialsProviderFunc(func(ctx context.Context) (Credentials, error) {
stubKey, err := ecdsa.GenerateKey(p256, bytes.NewReader(make([]byte, 40)))
stubKey, err := ecdsa.GenerateKey(p256, bytes.NewReader(bytes.Repeat([]byte{1}, 40)))
if err != nil {
return Credentials{}, err
}
Expand Down

0 comments on commit 1dcf243

Please sign in to comment.