]> git.ipfire.org Git - thirdparty/xz.git/commit
liblzma: Disable external SHA-256 by default.
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 13 Mar 2016 18:21:49 +0000 (20:21 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Sun, 13 Mar 2016 18:21:49 +0000 (20:21 +0200)
commitac398c3bafa6e4c80e20571373a96947db863b3d
tree4455bf3c9497d344386d662a67954ffe6d5adc6d
parent6fd5ecb589a9fdd7a576ea48c4850d496bab9ce5
liblzma: Disable external SHA-256 by default.

This is the sane thing to do. The conflict with OpenSSL
on some OSes and especially that the OS-provided versions
can be significantly slower makes it clear that it was
a mistake to have the external SHA-256 support enabled by
default.

Those who want it can now pass --enable-external-sha256 to
configure. INSTALL was updated with notes about OSes where
this can be a bad idea.

The SHA-256 detection code in configure.ac had some bugs that
could lead to a build failure in some situations. These were
fixed, although it doesn't matter that much now that the
external SHA-256 is disabled by default.

MINIX >= 3.2.0 uses NetBSD's libc and thus has SHA256_Init
in libc instead of libutil. Support for the libutil version
was removed.
INSTALL
configure.ac
src/liblzma/check/check.h