clarify license and origin for pidwraptest
The original author clarified the license, so we are fine to ship with the PID wraparound test. Run it by default if libressl is using the native arc4random supplied from the OS. ok deraadt@
This commit is contained in:
parent
8bf6bdeba4
commit
55d07e70dc
@ -6,3 +6,7 @@ AM_CPPFLAGS += -I $(top_srcdir)/crypto/asn1
|
||||
TESTS =
|
||||
check_PROGRAMS =
|
||||
EXTRA_DIST =
|
||||
|
||||
if !NO_ARC4RANDOM_BUF
|
||||
TESTS += pidwraptest.sh
|
||||
endif
|
||||
|
@ -1,6 +1,9 @@
|
||||
/*
|
||||
* Checks if LibreSSL's PRNG is fork-safe on Linux.
|
||||
* Checks if LibreSSL's PRNG is fork-safe.
|
||||
* From https://www.agwa.name/blog/post/libressls_prng_is_unsafe_on_linux
|
||||
* This code is in the public domain.
|
||||
*
|
||||
* Original source: https://gist.github.com/AGWA/eb84e55ca25a7da1deb0
|
||||
*/
|
||||
|
||||
#include <openssl/rand.h>
|
||||
|
Loading…
Reference in New Issue
Block a user