]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
For reasons that I am not understand yet, using the libmd version of
authorXin LI <delphij@FreeBSD.org>
Fri, 10 Apr 2015 17:21:47 +0000 (17:21 +0000)
committerXin LI <delphij@FreeBSD.org>
Fri, 10 Apr 2015 17:21:47 +0000 (17:21 +0000)
commit36d99b08a5d196236821a4fd869d1c7d615ffa5d
treebf1d425668272d227921d5f5ebc34d7d18b93b91
parentc441925e313b448ad5bc7c1ff1995058268888d8
For reasons that I am not understand yet, using the libmd version of
SHA256 would make libarchive based application to give:

archive_read_extract(): Lzma library error: Corrupted input data

(Internally this is LZMA_DATA_ERR)

However, the libmd version of SHA256 is supposed to give same result
as the bundled version do, and xz(1) is not affected.

As a precaution, revert the SHA256 portion of r281316 for now until
we figure out why it breaks libarchive interoperability as we can't
yet rule out this change have introduced an ABI breakage.
lib/liblzma/Makefile
lib/liblzma/Symbol.map
lib/liblzma/config.h