Skip to content

Commit 0d36470

Browse files
authored
fix fuzzing of asn1::{Implicit, Explicit} (#329)
1 parent 116e696 commit 0d36470

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

fuzz/fuzz_targets/fuzz_asn1_parse.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,8 @@ struct StructData<'a> {
6666
#[default(8)]
6767
f6: i32,
6868

69-
#[cfg(feature = "const-generics")]
70-
f7: asn1::Implicit<u32, 7>,
71-
#[cfg(feature = "const-generics")]
72-
f8: asn1::Explicit<u32, 8>,
69+
f7: asn1::Implicit<'a, u32, 7>,
70+
f8: asn1::Explicit<'a, u32, 8>,
7371

7472
#[explicit(9)]
7573
f9: Option<asn1::Tlv<'a>>,

0 commit comments

Comments
 (0)