Skip to content

Commit

Permalink
Fix zeroize impl
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Sep 27, 2024
1 parent ce160a1 commit 13bdee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block-buffer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ impl<BS: ArraySize> BlockBuffer<BS, Lazy> {
}

#[cfg(feature = "zeroize")]
impl<BS: BlockSizes, K: BufferKind> Zeroize for BlockBuffer<BS, K> {
impl<BS: ArraySize, K: BufferKind> Zeroize for BlockBuffer<BS, K> {
#[inline]
fn zeroize(&mut self) {
self.buffer.zeroize();
Expand Down

0 comments on commit 13bdee3

Please sign in to comment.