Skip to content

Commit

Permalink
Fix small bug in reverting dalek-cryptography#107
Browse files Browse the repository at this point in the history
  • Loading branch information
elichai committed Jul 29, 2024
1 parent 369e746 commit defe0a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ impl Not for Choice {
/// code may break in a non-destructive way in the future, “constant-time” code
/// is a continually moving target, and this is better than doing nothing.
#[inline(never)]
#[cfg(not(feature = "core_hint_black_box"))]
fn black_box<T: Copy>(input: T) -> T {
unsafe {
// Optimization barrier
Expand Down

0 comments on commit defe0a0

Please sign in to comment.