From b179709639527e91531c0c6f99ebf8c06ddcfb7f Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Mon, 8 May 2023 19:07:42 -0700 Subject: [PATCH] Bug fix: derive Arbitrary for ZipCryptoKeys --- src/zipcrypto.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zipcrypto.rs b/src/zipcrypto.rs index 7ad8ddcb..2e97a647 100644 --- a/src/zipcrypto.rs +++ b/src/zipcrypto.rs @@ -9,6 +9,7 @@ use std::hash::{Hash, Hasher}; use std::num::Wrapping; /// A container to hold the current key state +#[cfg_attr(fuzzing, derive(arbitrary::Arbitrary))] #[derive(Clone, Copy, Hash, Ord, PartialOrd, Eq, PartialEq)] pub(crate) struct ZipCryptoKeys { key_0: Wrapping,