diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2016-03-10 20:26:49 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2016-03-10 20:26:49 +0200 |
commit | 473ef0dc69a30e64d5fa0d34aca02f7309faa3e9 (patch) | |
tree | a7937f02b4ce873d3d9f8ac65df53aeda4e7a6a5 /src/common | |
parent | tuklib_physmem: Hopefully silence a warning on Windows. (diff) | |
download | xz-473ef0dc69a30e64d5fa0d34aca02f7309faa3e9.tar.xz |
Build: Avoid SHA256_Init on FreeBSD and MINIX 3.
On FreeBSD 10 and older, SHA256_Init from libmd conflicts
with libcrypto from OpenSSL. The OpenSSL version has
different sizeof(SHA256_CTX) and it can cause weird
problems if wrong SHA256_Init gets used.
Looking at the source, MINIX 3 seems to have a similar issue but
I'm not sure. To be safe, I disabled SHA256_Init on MINIX 3 too.
NetBSD has SHA256_Init in libc and they had a similar problem,
but they already fixed it in 2009.
Thanks to Jim Wilcoxson for the bug report that helped
in finding the problem.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions