diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-02-13 17:30:30 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-02-13 17:30:30 +0200 |
commit | 1d924e584b146136989f48c13fff2632896efb3d (patch) | |
tree | c39356235dc95f05848496a1383e50feaaacee3e /src/xz/process.c | |
parent | Improve support for DOS-like systems. (diff) | |
download | xz-1d924e584b146136989f48c13fff2632896efb3d.tar.xz |
Fix handling of integrity check type in the xz command line tool.
Diffstat (limited to '')
-rw-r--r-- | src/xz/process.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xz/process.c b/src/xz/process.c index 59c19cd2..9b966546 100644 --- a/src/xz/process.c +++ b/src/xz/process.c @@ -51,7 +51,11 @@ static bool preset_default = true; static bool preset_extreme = false; /// Integrity check type +#ifdef HAVE_CHECK_CRC64 static lzma_check check = LZMA_CHECK_CRC64; +#else +static lzma_check check = LZMA_CHECK_CRC32; +#endif extern void |