diff options
author | Björn Esser <besser82@fedoraproject.org> | 2019-01-22 14:19:19 +0100 |
---|---|---|
committer | Björn Esser <besser82@fedoraproject.org> | 2019-01-24 19:15:33 +0100 |
commit | 0919e33d0e12bf580ce389456e73ce3b88afd771 (patch) | |
tree | f82568c6290efec1ba15b5ca8020de2eb50d46d0 /.gitignore | |
parent | 951f998a6a542977331ca4cdda64a0ca6222043a (diff) | |
download | libxcrypt-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 '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -78,6 +78,7 @@ /test-crypt-yescrypt /test-des-obsolete /test-des-obsolete_r +/test-fcrypt-enosys /test-gensalt /test-gensalt-nthash /test-gensalt-extradata |