mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 11:50:52 +02:00
Rust wrapper: make ECC::verify_hash C result check more strict
Fixes F-1989
This commit is contained in:
@@ -1964,7 +1964,7 @@ impl ECC {
|
||||
if rc != 0 {
|
||||
return Err(rc);
|
||||
}
|
||||
Ok(res != 0)
|
||||
Ok(res == 1)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user