From 20f7a6c6173149dcce982a0fd1e35d44bff28f12 Mon Sep 17 00:00:00 2001 From: Claudio Date: Mon, 17 Jun 2024 11:53:20 +0200 Subject: [PATCH] Update math_random.fixed.go --- go/lang/security/audit/crypto/math_random.fixed.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/go/lang/security/audit/crypto/math_random.fixed.go b/go/lang/security/audit/crypto/math_random.fixed.go index 86518d96ba..66f18e4272 100644 --- a/go/lang/security/audit/crypto/math_random.fixed.go +++ b/go/lang/security/audit/crypto/math_random.fixed.go @@ -4,6 +4,12 @@ import ( "crypto/rand" // ruleid: math-random-used mrand "crypto/rand" + // ruleid: math-random-used + mrand "crypto/rand" + // ruleid: math-random-used + mrand "crypto/rand" + // ok: math-random-used + mrand "math/rand/something" ) func main() {