Skip to content

Commit

Permalink
chore: Fix the build for one of our fuzz targets
Browse files Browse the repository at this point in the history
  • Loading branch information
poljar committed Jan 14, 2025
1 parent 95eafec commit 93efff0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions afl/olm-message-decoding/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ path = "../.."
# Prevent this from interfering with workspaces
[workspace]
members = ["."]

[lints.rust]
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(fuzzing)'] }
1 change: 1 addition & 0 deletions src/types/ed25519.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ impl Ed25519PublicKey {
}

#[cfg(fuzzing)]
#[allow(missing_docs)]
pub fn verify(
&self,
_message: &[u8],
Expand Down

0 comments on commit 93efff0

Please sign in to comment.