Bug 1294736 - [5.0] Switch to CRC64 integrity checking. r=glandium

This commit is contained in:
Eugen Sawin 2016-10-12 01:39:54 +02:00
parent c1ad292ceb
commit 940c54d37b
2 changed files with 6 additions and 0 deletions

View File

@ -59,7 +59,11 @@ XZStream::~XZStream()
bool
XZStream::Init()
{
#ifdef XZ_USE_CRC64
xz_crc64_init();
#endif
xz_crc32_init();
mDec = xz_dec_init(XZ_DYNALLOC, kDictSize);
if (!mDec) {

View File

@ -47,6 +47,8 @@ if CONFIG['CPU_ARCH'] == 'x86':
if CONFIG['GNU_CXX']:
CXXFLAGS += ['-Wno-error=shadow']
DEFINES['XZ_USE_CRC64'] = 1
USE_LIBS += [
'xz-embedded',
]