diff options
author | Zack Weinberg <zackw@panix.com> | 2018-07-12 12:25:12 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2018-07-12 12:25:12 -0400 |
commit | b3ee64bf08082367ea2116ea1fb2007e1a2896cd (patch) | |
tree | efc30a65452525c93b2bee7c36343c5bdbc5abb6 /.gitignore | |
parent | 9f728b79718a8e8b371f48b75592beed638f9c2b (diff) | |
download | libxcrypt-b3ee64bf08082367ea2116ea1fb2007e1a2896cd.tar.gz libxcrypt-b3ee64bf08082367ea2116ea1fb2007e1a2896cd.tar.bz2 libxcrypt-b3ee64bf08082367ea2116ea1fb2007e1a2896cd.zip |
Add tests for get_random_bytes.
It turns out not to be *that* hard to exercise the fallback logic in
get_random_bytes, thanks to GNU ld's --wrap feature. There is also
some basic black-box testing of the get_random_bytes interface.
The change to randombytes.c itself ensures 100% predictable behavior
if get_random_bytes should ever be called with buflen zero.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -68,6 +68,8 @@ /test-des-obsolete /test-des-obsolete_r /test-gensalt +/test-getrandom-fallbacks +/test-getrandom-interface /test-short-outbuf # backup-files |