Skip to content

Commit

Permalink
Correct the list of crypto extensions
Browse files Browse the repository at this point in the history
They were the same as the archive/compressed extensions, and I never noticed!
  • Loading branch information
ogham committed Apr 16, 2016
1 parent fae0f38 commit 45c93b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/info/filetype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ impl<'_> File<'_> {

pub fn is_crypto(&self) -> bool {
self.extension_is_one_of( &[
"zip", "tar", "Z", "gz", "bz2", "a", "ar", "7z",
"iso", "dmg", "tc", "rar", "par",
"asc", "enc", "gpg", "pgp", "sig", "signature", "pfx", "p12",
])
}

Expand Down

0 comments on commit 45c93b1

Please sign in to comment.