Correct the list of crypto extensions

They were the same as the archive/compressed extensions, and I never noticed!
This commit is contained in:
Benjamin Sago 2016-04-16 22:17:12 +01:00
parent fae0f3874e
commit 45c93b1b63

View File

@ -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",
])
}