From b258a4e460569678cd554236cb75027897a42858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= Date: Mon, 12 Apr 2021 18:15:33 +0200 Subject: [PATCH] Revert "Add checksum for XZ" This reverts commit 3ebd747de661b244f1acec29495d676dd52e71d5. --- magic/Magdir/compress | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/magic/Magdir/compress b/magic/Magdir/compress index 64d11a73..a364a880 100644 --- a/magic/Magdir/compress +++ b/magic/Magdir/compress @@ -264,12 +264,7 @@ >>5 lequad !0xffffffffffffffff non-streamed, size %lld # http://tukaani.org/xz/xz-file-format.txt -0 ustring \xFD7zXZ\x00 XZ compressed data, checksum ->7 byte&0xf 0x0 NONE ->7 byte&0xf 0x1 CRC32 ->7 byte&0xf 0x4 CRC64 ->7 byte&0xf 0xa SHA-256 - +0 ustring \xFD7zXZ\x00 XZ compressed data !:strength * 2 !:mime application/x-xz -- 2.31.1