Skip to content

Commit

Permalink
ecdsa: fix new_wycheproof_test! macro (#770)
Browse files Browse the repository at this point in the history
Updates `from_exact_iter` => `from_iter`
  • Loading branch information
tarcieri authored Jan 10, 2024
1 parent 1e5e29c commit 2cb7693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecdsa/src/dev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ macro_rules! new_wycheproof_test {
let iter = core::iter::repeat(0)
.take(point_len - data.len())
.chain(data.iter().cloned());
elliptic_curve::FieldBytes::<C>::from_exact_iter(iter).unwrap()
elliptic_curve::FieldBytes::<C>::from_iter(iter)
}
}

Expand Down

0 comments on commit 2cb7693

Please sign in to comment.