aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/archives.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-13 11:25:16 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-13 11:25:16 +0100
commit6861c93af2e50b118e3c4a3609f72a90c790c184 (patch)
tree0f0c11c11a536f69e4d54eb7a3ed90c6f34c368f /src/libmime/archives.h
parentf0d671bca423e302fe82a76cac3fde9ddbdb5d81 (diff)
downloadrspamd-6861c93af2e50b118e3c4a3609f72a90c790c184.tar.gz
rspamd-6861c93af2e50b118e3c4a3609f72a90c790c184.zip
[Fix] Properly detect encrypted files in zip archives
Diffstat (limited to 'src/libmime/archives.h')
-rw-r--r--src/libmime/archives.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmime/archives.h b/src/libmime/archives.h
index 9ea1b28e1..e4e7b8b03 100644
--- a/src/libmime/archives.h
+++ b/src/libmime/archives.h
@@ -26,11 +26,11 @@ enum rspamd_archive_type {
};
enum rspamd_archive_flags {
- RSPAMD_ARCHIVE_ENCRYPTED = (1 << 0),
+ RSPAMD_ARCHIVE_ENCRYPTED = (1u << 0u),
};
enum rspamd_archive_file_flags {
- RSPAMD_ARCHIVE_FILE_ENCRYPTED = (1 << 0),
+ RSPAMD_ARCHIVE_FILE_ENCRYPTED = (1u << 0u),
};
struct rspamd_archive_file {