diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2011-05-21 15:08:44 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2011-05-21 15:08:44 +0300 |
commit | b94aa0c8380cdb18cddb33440d625474c16643cf (patch) | |
tree | 41dc7226f490e7aaa3b32f701e2b3b4fac0afb3f /lib | |
parent | Don't use clockid_t in mythread.h when clock_gettime() isn't available. (diff) | |
download | xz-b94aa0c8380cdb18cddb33440d625474c16643cf.tar.xz |
liblzma: Try to use SHA-256 from the operating system.
If the operating system libc or other base libraries
provide SHA-256, use that instead of our own copy.
Note that this doesn't use OpenSSL or libgcrypt or
such libraries to avoid creating dependencies to
other packages.
This supports at least FreeBSD, NetBSD, OpenBSD, Solaris,
MINIX, and Darwin. They all provide similar but not
identical SHA-256 APIs; everyone is a little different.
Thanks to Wim Lewis for the original patch, improvements,
and testing.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions