Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | conditionally build strnlen if needed. | Brent Cook | 2014-08-02 | 3 | -0/+9 | |
| | | | | | | it is only used by strndup prodded by Sortie@ | |||||
* | tie master libressl branch to openbsd master | Brent Cook | 2014-07-31 | 2 | -8/+8 | |
| | | | | Added OPENBSD_BRANCH to set what branch update.sh should checkout. | |||||
* | Crank version on HEAD to 2.1.0 2.0 cointinues on OPENBSD_5_6 branch | Bob Beck | 2014-07-31 | 1 | -1/+1 | |
| | ||||||
* | define MAP_ANON for systems with MAP_ANONYMOUS | Brent Cook | 2014-07-30 | 1 | -3/+3 | |
| | | | | switch the sense of this check | |||||
* | merge endian definitions between AIX/HP-UX/Solaris | Brent Cook | 2014-07-30 | 1 | -7/+1 | |
| | ||||||
* | update include/machine/endian.h for hpux portability. | inoguchi | 2014-07-30 | 1 | -0/+3 | |
| | | | | ok bcook@ | |||||
* | harmonize asprintf with OpenSSH | Brent Cook | 2014-07-30 | 4 | -111/+39 | |
| | | | | | | | | | * use the original name for the file from OpenSSH (remove duplicate version) * add va_copy/__va_copy checks to configure * incorporate proposed fixes to openssh version: + include more system headers directly for various definitions + limit the scope of va_copy/va_end to their affected vsnprintf calls + simplify error handling, removing a dead assignment | |||||
* | include comment on windows services | Brent Cook | 2014-07-29 | 1 | -0/+5 | |
| | ||||||
* | add sys/mman.h shim to define MAP_ANON if needed | Brent Cook | 2014-07-29 | 2 | -0/+15 | |
| | | | | | | thanks to kinichiro for pointing this out ok deraadt@ beck@ | |||||
* | stub win32 issetugid implementation | Brent Cook | 2014-07-29 | 2 | -0/+24 | |
| | | | | ok deraadt@ beck@ | |||||
* | added dist.sh script - generates tarball | Brent Cook | 2014-07-29 | 1 | -0/+6 | |
| | | | | ok deraadt@ beck@ | |||||
* | produce a error if platform has no arc4random hook | Brent Cook | 2014-07-29 | 1 | -7/+8 | |
| | | | | ok deraadt@ beck@ | |||||
* | add asprintf / vasprintf from OpenSSH portable | Brent Cook | 2014-07-29 | 5 | -0/+115 | |
| | | | | ok deraadt@ beck@ | |||||
* | Update endian.h for AIX/IRIX | pgmassey | 2014-07-29 | 1 | -0/+8 | |
| | | | | | | Added AIX/IRIX compatibility for endian detection. ok bcook@ deraadt@ beck@ | |||||
* | Guard individual compatibility header prototypes. | Brent Cook | 2014-07-28 | 4 | -55/+81 | |
| | | | | | | | | This is to avoid redefining prototypes from the libc headers. Also, simplify the autoconf function checks and remove some copy/paste errors checking for 'write'. ok wouter@ | |||||
* | 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@ |