Skip to content

Commit

Permalink
fix(benches): fix weird black_box bug on decrypt/0
Browse files Browse the repository at this point in the history
  • Loading branch information
codahale committed Sep 19, 2023
1 parent 407d9df commit 82a8247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions veil/benches/benches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ fn bench_decrypt(c: &mut Criterion) {
io::repeat(0).take(n),
&mut ciphertext,
&[pk_b.public_key()],
black_box(None),
black_box(None),
None,
None,
)
.unwrap();
let ciphertext = ciphertext.into_inner();
Expand Down

0 comments on commit 82a8247

Please sign in to comment.