mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 05:28:40 +00:00
refactor(crypto): explicitly ignore return value
This commit is contained in:
parent
80029823be
commit
057b927e99
@ -365,8 +365,10 @@ int zkp_ecdsa_verify_digest(const ecdsa_curve *curve,
|
||||
}
|
||||
|
||||
if (result == 0) {
|
||||
secp256k1_ecdsa_signature_normalize(context_read_only, &signature,
|
||||
&signature);
|
||||
(void)secp256k1_ecdsa_signature_normalize(
|
||||
context_read_only, &signature,
|
||||
&signature); // The return value inidicates whether the signature was
|
||||
// already normalized
|
||||
|
||||
if (secp256k1_ecdsa_verify(context_read_only, &signature, digest,
|
||||
&public_key) != 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user