From e4fc981010078ac5a4ae8aba8c57a330ea348d42 Mon Sep 17 00:00:00 2001 From: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> Date: Thu, 9 Jan 2025 13:51:29 +0000 Subject: [PATCH] golang: fix nit in fuzzer (#12926) Signed-off-by: Adam Korczynski --- projects/golang/dsa_fuzzer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/golang/dsa_fuzzer.go b/projects/golang/dsa_fuzzer.go index 3fe802b97204..520638c36405 100644 --- a/projects/golang/dsa_fuzzer.go +++ b/projects/golang/dsa_fuzzer.go @@ -26,7 +26,7 @@ func FuzzDsaVerify(f *testing.F) { f.Fuzz(func(t *testing.T, data1, data2, data3 []byte, s1, s2 string, s uint8) { bi1, ok := new(big.Int).SetString(s1, 16) bi2, ok2 := new(big.Int).SetString(s2, 16) - if !ok && !ok2 { + if !ok || !ok2 { return } var priv dsa.PrivateKey