From 971b020222b8094483e0ece330cdedf1784c88be Mon Sep 17 00:00:00 2001 From: Claudio Date: Mon, 17 Jun 2024 11:47:48 +0200 Subject: [PATCH] Update math_random.go --- go/lang/security/audit/crypto/math_random.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/go/lang/security/audit/crypto/math_random.go b/go/lang/security/audit/crypto/math_random.go index 68ce54c8f1..7192833e2b 100644 --- a/go/lang/security/audit/crypto/math_random.go +++ b/go/lang/security/audit/crypto/math_random.go @@ -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() {