Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | split big line | Brent Cook | 2014-07-28 | 1 | -1/+2 | |
| | ||||||
* | prefer - over /dev/stdin for cmp test | Brent Cook | 2014-07-28 | 1 | -1/+1 | |
| | ||||||
* | check link requirements for dl_iterate_phdr | Brent Cook | 2014-07-28 | 1 | -0/+3 | |
| | | | | | | | | | Note that gcc chose to disable this rather than cause link issues with older copies of Solaris 10: https://gcc.gnu.org/ml/gcc-patches/2012-01/msg00816.html If we want to support Solaris <10.10 (I'd rather support up-to-date versions), getentropy_solaris would need to change. | |||||
* | remove bash-isms from test scripts | Brent Cook | 2014-07-28 | 2 | -3/+4 | |
| | ||||||
* | add strndup/strnlen compat functions from OpenBSD | Brent Cook | 2014-07-28 | 5 | -1/+17 | |
| | ||||||
* | include system headers for err.h compat macros | Brent Cook | 2014-07-28 | 1 | -0/+4 | |
| | ||||||
* | remove thread_private.h, no longer needed | Brent Cook | 2014-07-27 | 2 | -1/+0 | |
| | ||||||
* | remove per-OS arc4random_buf overrides | Brent Cook | 2014-07-24 | 1 | -6/+0 | |
| | | | | | | | | | | | | | | If an OS provides an arc4random_buf implementation in its C library, prefer it over an in-library version. This allows OS-specific implementations to become more robust over time. It also prevents possible link-time confusion as to which arc4random_buf implementation is in use by an application when linked with LibreSSL. The built-in unit tests will identify some common issues, such as fork safety and PID wrap handling. Other elements, such as seeding mechanisms, should be audited by the vendor or user for correctness. ok deraadt@ beck@ | |||||
* | clarify license and origin for pidwraptest | Brent Cook | 2014-07-23 | 2 | -1/+8 | |
| | | | | | | | | 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@ | |||||
* | add calloc to the list (integer overflow..) | Bob Beck | 2014-07-21 | 1 | -1/+1 | |
| | ||||||
* | Update README to indicate general policy about intrinsics | Bob Beck | 2014-07-21 | 1 | -0/+5 | |
| | ||||||
* | bump version | Brent Cook | 2014-07-21 | 1 | -1/+1 | |
| | ||||||
* | build openbsd memmem implementation for explicit_bzero test | Brent Cook | 2014-07-21 | 3 | -1/+7 | |
| | | | | | | memmem is not always available, and not all memmem's work the same way ok beck@ guenther@ | |||||
* | compute absolute paths to source | Brent Cook | 2014-07-21 | 1 | -10/+11 | |
| | | | | | | removes relative path hackery ok beck@ guenther@ | |||||
* | better handle disabled tests and exclude files | Brent Cook | 2014-07-21 | 2 | -7/+21 | |
| | | | | ok beck@ guenther@ | |||||
* | rename local tests to end in test.c | Brent Cook | 2014-07-21 | 2 | -0/+0 | |
| | | | | ok beck@ guenther@ | |||||
* | test for and use system explicit_bzero if it exists | Brent Cook | 2014-07-21 | 2 | -1/+10 | |
| | | | | ok beck@ guenther@ | |||||
* | include err.h shim | Brent Cook | 2014-07-21 | 3 | -1/+28 | |
| | | | | | | Includes compatible replacements, or uses system err.h if available. ok beck@ guenther@ | |||||
* | use correct link order for app and tests | Brent Cook | 2014-07-21 | 2 | -3/+3 | |
| | | | | ok beck@ guenther@ | |||||
* | preserve timestamps on copy from upstream checkout | Brent Cook | 2014-07-21 | 1 | -28/+30 | |
| | | | | | | this saves time on rebuilds when testing tarballs ok beck@ guenther@ | |||||
* | conditionally disable -Wpointer-sign where supported | Brent Cook | 2014-07-20 | 1 | -0/+10 | |
| | | | | ok beck@ | |||||
* | update guard, add win32 support for endian.h | Brent Cook | 2014-07-20 | 1 | -6/+22 | |
| | | | | | | Thanks to Jonas 'Sortie' Termansen for pointing the guard inconsistency out. ok beck@ | |||||
* | Use correct static link order for unit tests. | Brent Cook | 2014-07-20 | 1 | -2/+2 | |
| | | | | | | thanks to Jonas 'Sortie' Termansen ok beck@ | |||||
* | include <_bsd_types.h> on MinGW | Brent Cook | 2014-07-20 | 1 | -0/+4 | |
| | | | | ok beck@ | |||||
* | remove thread_private.h defines, moved to arc4random_*.h | Brent Cook | 2014-07-19 | 1 | -14/+0 | |
| | ||||||
* | update to newly-refactored arc4random compatibility shims | Brent Cook | 2014-07-18 | 4 | -0/+23 | |
| | | | | | | the thread-private bits can move next ok beck@ | |||||
* | initial underpinnings for mingw/cross compilation support | Brent Cook | 2014-07-18 | 2 | -13/+22 | |
| | | | | | | | | | Use canonical host rather than target so that this works: CC=i686-w64-mingw32-gcc ./configure --host=i686-w64-mingw32 Conditionally compile Linux issetugid compatibility function ok beck@ | |||||
* | move fork_rand.sh so it does not get run every time | Brent Cook | 2014-07-15 | 1 | -0/+0 | |
| | | | | | | the test takes many minutes to run on an OS with a slow fork() call ok beck@ | |||||
* | indicate failure to the test harness | Brent Cook | 2014-07-15 | 1 | -0/+1 | |
| | | | | ok beck@ | |||||
* | added fork_rand test to check for PID wraparound | Brent Cook | 2014-07-15 | 3 | -2/+93 | |
| | | | | ok beck@ | |||||
* | crank version | Bob Beck | 2014-07-15 | 1 | -1/+1 | |
| | ||||||
* | register the atfork handler from arc4random | Brent Cook | 2014-07-15 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | From kettenis@ People have suggested using pthread_atfork(3) before, but discarded the idea because it involves linking with -lpthread, which has other undesirable consequences. However: * Most systems actually have pthread_atfork(3) in libc. I verified this on OS X and Solaris. I believe this is the case on Linux systems that use musl as well. * On Linux systems that use glibc, this isn't the case. However, those systems have __register_atfork(3), which is fully documented in the "Linux Standard Base Core Specification". ok kettenis@ deraadt@ beck@ | |||||
* | enable the asn1 test | Brent Cook | 2014-07-15 | 1 | -1/+1 | |
| | ||||||
* | Add the public signing key so it can be fetched from github | Bob Beck | 2014-07-14 | 1 | -0/+2 | |
| | ||||||
* | give section 1 man pages a .1 suffix instead of .3 | Mark Kettenis | 2014-07-14 | 1 | -2/+2 | |
| | | | | ok beck@ | |||||
* | remove stray brackets in --with-enginesdir/openssldir support | Mark Kettenis | 2014-07-14 | 1 | -2/+2 | |
| | | | | ok beck@ | |||||
* | use generic test for clock_gettime flags | Brent Cook | 2014-07-12 | 1 | -1/+3 | |
| | | | | ok beck@ | |||||
* | added configurable ENGINESDIR and OPENSSLDIR | Brent Cook | 2014-07-12 | 1 | -0/+10 | |
| | | | | | | use --with-enginesdir and --with-openssldir ok beck@ | |||||
* | Crank | Bob Beck | 2014-07-13 | 1 | -1/+1 | |
| | | | | ok bcook@ | |||||
* | remove problematic DISTCLEANFILES variable | Bob Beck | 2014-07-13 | 1 | -2/+0 | |
| | | | | ok bcook@ | |||||
* | cleanup auto-generated .pc files | Brent Cook | 2014-07-12 | 1 | -1/+1 | |
| | | | | ok beck@ | |||||
* | rc4_util.c went away | Bob Beck | 2014-07-13 | 1 | -1/+1 | |
| | | | | ok bcook@ | |||||
* | add platform libraries to libcompat's LIBADD list | Brent Cook | 2014-07-12 | 8 | -4/+66 | |
| | | | | ok beck@ | |||||
* | disable unconditional -Wno-pointer-sign | Brent Cook | 2014-07-11 | 1 | -1/+1 | |
| | | | | ok beck@ | |||||
* | add a check to see if <sys/sysctl.h> exists | Brent Cook | 2014-07-11 | 1 | -0/+2 | |
| | | | | ok beck@ | |||||
* | We're probably gonna need this for solaris 10 | Bob Beck | 2014-07-12 | 1 | -0/+101 | |
| | ||||||
* | source library version from a common place, speed man builds | Brent Cook | 2014-07-12 | 4 | -23/+22 | |
| | | | | | | | grab library version from VERSION file build manpages only on changes ok beck@ | |||||
* | hide unit test build results in .gitignore | Brent Cook | 2014-07-12 | 1 | -2/+3 | |
| | | | | ok beck@ | |||||
* | source the proper man links file | Brent Cook | 2014-07-11 | 1 | -1/+1 | |
| | | | | otherwise, this picks up 'links' in the path | |||||
* | remove unconditional -Werror | Brent Cook | 2014-07-11 | 1 | -1/+1 | |
| | | | | | | Allow warnings to be reported without failing the entire build. ok beck@ |