Rust wrapper: make ECC::verify_hash C result check more strict

Fixes F-1989
This commit is contained in:
Josh Holtrop
2026-04-24 10:21:34 -04:00
parent 40bc5d09f7
commit 135110232f
+1 -1
View File
@@ -1964,7 +1964,7 @@ impl ECC {
if rc != 0 {
return Err(rc);
}
Ok(res != 0)
Ok(res == 1)
}
}