aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lzma/process.c2
1 files changed, 1 insertions, 1 deletions
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,
};