From faeac7b7aca75f86afed1e7cc06279d9d497c627 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Tue, 8 Jan 2008 18:50:30 +0200 Subject: Disable CRC32 from Block Headers when --check=none has been specified. --- src/lzma/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lzma') diff --git a/src/lzma/process.c b/src/lzma/process.c index 10a76b74..18181826 100644 --- a/src/lzma/process.c +++ b/src/lzma/process.c @@ -175,7 +175,7 @@ single_init(thread_data *t) } else { lzma_options_stream stream = { .check = opt_check, - .has_crc32 = true, + .has_crc32 = opt_check != LZMA_CHECK_NONE, .uncompressed_size = uncompressed_size, .alignment = 0, }; -- cgit v1.2.3