Skip to content

Commit

Permalink
golang: fix nit in fuzzer (#12926)
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Korczynski <adam@adalogics.com>
  • Loading branch information
AdamKorcz authored Jan 9, 2025
1 parent 879cb18 commit e4fc981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/golang/dsa_fuzzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4fc981

Please sign in to comment.