Skip to content

Commit

Permalink
chore: ignore gosec false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
ivokub committed Oct 4, 2024
1 parent fa50e64 commit 7fa434f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ecc/bls12-377/shplonk/shplonk_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecc/bls12-381/shplonk/shplonk_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecc/bls24-315/shplonk/shplonk_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecc/bls24-317/shplonk/shplonk_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecc/bn254/shplonk/shplonk_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecc/bw6-633/shplonk/shplonk_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ecc/bw6-761/shplonk/shplonk_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/generator/shplonk/template/shplonk.test.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func TestOpening(t *testing.T) {
nbPolys := 2
sizePoly := make([]int, nbPolys)
for i := 0; i < nbPolys; i++ {
sizePoly[i] = rand.Intn(10) + 2
sizePoly[i] = rand.Intn(10) + 2 //nolint: gosec // G404, no strong PRNG needed here
}
polys := make([][]fr.Element, nbPolys)
for i := 0; i < nbPolys; i++ {
Expand Down

0 comments on commit 7fa434f

Please sign in to comment.