summaryrefslogtreecommitdiff
path: root/alg-hmac-sha1.h
diff options
context:
space:
mode:
authorBjörn Esser <besser82@fedoraproject.org>2019-01-22 14:19:19 +0100
committerBjörn Esser <besser82@fedoraproject.org>2019-01-24 19:15:33 +0100
commit0919e33d0e12bf580ce389456e73ce3b88afd771 (patch)
treef82568c6290efec1ba15b5ca8020de2eb50d46d0 /alg-hmac-sha1.h
parent951f998a6a542977331ca4cdda64a0ca6222043a (diff)
downloadlibxcrypt-0919e33d0e12bf580ce389456e73ce3b88afd771.tar.gz
libxcrypt-0919e33d0e12bf580ce389456e73ce3b88afd771.tar.bz2
libxcrypt-0919e33d0e12bf580ce389456e73ce3b88afd771.zip
Add --enable-obsolete-api-enosys configure option.
If enabled, this option replaces the obsolete APIs (fcrypt, encrypt{,_r}, and setkey{,_r}) with stubs that set errno to ENOSYS and return without performing any real operations. This allows one to disable DEScrypt support while preserving POSIX compliance. For security reasons, the encrypt{,r} functions will also overwrite their data-block argument with random bits. The fcrypt function will always produce a failure token (*0 or *1), unless the library was also configured with --disable-failure-tokens, in which case it will always return NULL.
Diffstat (limited to 'alg-hmac-sha1.h')
0 files changed, 0 insertions, 0 deletions