mirror of https://git.tukaani.org/xz.git
Disable CRC32 from Block Headers when --check=none
has been specified.
This commit is contained in:
parent
a751126dbb
commit
faeac7b7ac
|
@ -175,7 +175,7 @@ single_init(thread_data *t)
|
||||||
} else {
|
} else {
|
||||||
lzma_options_stream stream = {
|
lzma_options_stream stream = {
|
||||||
.check = opt_check,
|
.check = opt_check,
|
||||||
.has_crc32 = true,
|
.has_crc32 = opt_check != LZMA_CHECK_NONE,
|
||||||
.uncompressed_size = uncompressed_size,
|
.uncompressed_size = uncompressed_size,
|
||||||
.alignment = 0,
|
.alignment = 0,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue