Skip to content

Commit

Permalink
Update math_random.go
Browse files Browse the repository at this point in the history
  • Loading branch information
p4p3r authored Jun 17, 2024
1 parent 763a2cd commit 971b020
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions go/lang/security/audit/crypto/math_random.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ import (
"crypto/rand"
// ruleid: math-random-used
mrand "math/rand"
// ruleid: math-random-used
mrand "math/rand/v2"
// ruleid: math-random-used
mrand "math/rand/v222"
// ok: math-random-used
mrand "math/rand/something"
)

func main() {
Expand Down

0 comments on commit 971b020

Please sign in to comment.