Skip to content

Commit

Permalink
Update libclamav_rust/src/alz.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Micah Snyder <[email protected]>
  • Loading branch information
ragusaa and micahsnyder authored Mar 25, 2024
1 parent c5bc180 commit cb51ae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libclamav_rust/src/alz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,11 +304,11 @@ impl AlzLocalFileHeader {

pub fn is_supported(&self) -> Result<(), Error> {
if self.is_encrypted() {
return Err(Error::UnsupportedFeature( "Encryption Unsupported"));
return Err(Error::UnsupportedFeature("Encryption Unsupported"));
}

if self.is_data_descriptor() {
return Err(Error::UnsupportedFeature( "Data Descriptors are Unsupported"));
return Err(Error::UnsupportedFeature("Data Descriptors are Unsupported"));
}

Ok(())
Expand Down

0 comments on commit cb51ae9

Please sign in to comment.