aboutsummaryrefslogtreecommitdiff
path: root/tests/pidwraptest.c
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2014-07-23 19:18:45 -0500
committerBrent Cook <bcook@openbsd.org>2014-07-23 20:10:17 -0500
commit55d07e70dcb7f689b161c56b2d6b5eeefbf127a6 (patch)
tree82dcfeedf09658a51e058e49970d5d46173d7863 /tests/pidwraptest.c
parent8bf6bdeba4cec79975418d35d506c10fcb0f73df (diff)
downloadportable-55d07e70dcb7f689b161c56b2d6b5eeefbf127a6.tar.gz
portable-55d07e70dcb7f689b161c56b2d6b5eeefbf127a6.tar.bz2
portable-55d07e70dcb7f689b161c56b2d6b5eeefbf127a6.zip
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@
Diffstat (limited to 'tests/pidwraptest.c')
-rw-r--r--tests/pidwraptest.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/pidwraptest.c b/tests/pidwraptest.c
index 75f2cc2..7eb2a0c 100644
--- a/tests/pidwraptest.c
+++ b/tests/pidwraptest.c
@@ -1,6 +1,9 @@
1/* 1/*
2 * Checks if LibreSSL's PRNG is fork-safe on Linux. 2 * Checks if LibreSSL's PRNG is fork-safe.
3 * From https://www.agwa.name/blog/post/libressls_prng_is_unsafe_on_linux 3 * From https://www.agwa.name/blog/post/libressls_prng_is_unsafe_on_linux
4 * This code is in the public domain.
5 *
6 * Original source: https://gist.github.com/AGWA/eb84e55ca25a7da1deb0
4 */ 7 */
5 8
6#include <openssl/rand.h> 9#include <openssl/rand.h>