Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
chore: fix incorrect test input
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Sep 20, 2023
1 parent 8e99368 commit 34a3b8a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions blackbox_solver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,12 @@ mod secp256r1_tests {
let mut long_hashed_message = HASHED_MESSAGE.to_vec();
long_hashed_message.push(0xff);

let valid =
verify_secp256r1_ecdsa_signature(&HASHED_MESSAGE, &PUB_KEY_X, &PUB_KEY_Y, &SIGNATURE);
let valid = verify_secp256r1_ecdsa_signature(
&long_hashed_message,
&PUB_KEY_X,
&PUB_KEY_Y,
&SIGNATURE,
);

assert!(valid)
}
Expand Down

0 comments on commit 34a3b8a

Please sign in to comment.