aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* remove configure.am.tpl, pull in VERSION directlyBrent Cook2014-08-123-4/+1
| | | | from wouter@
* rebase on pull when updating the openbsd branchBrent Cook2014-08-081-1/+1
| | | | this avoids inadvertent local merges
* conditionally build strnlen if needed.Brent Cook2014-08-023-0/+9
| | | | | | it is only used by strndup prodded by Sortie@
* tie master libressl branch to openbsd masterBrent Cook2014-07-312-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 branchBob Beck2014-07-311-1/+1
|
* define MAP_ANON for systems with MAP_ANONYMOUSBrent Cook2014-07-301-3/+3
| | | | switch the sense of this check
* merge endian definitions between AIX/HP-UX/SolarisBrent Cook2014-07-301-7/+1
|
* update include/machine/endian.h for hpux portability.inoguchi2014-07-301-0/+3
| | | | ok bcook@
* harmonize asprintf with OpenSSHBrent Cook2014-07-304-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 servicesBrent Cook2014-07-291-0/+5
|
* add sys/mman.h shim to define MAP_ANON if neededBrent Cook2014-07-292-0/+15
| | | | | | thanks to kinichiro for pointing this out ok deraadt@ beck@
* stub win32 issetugid implementationBrent Cook2014-07-292-0/+24
| | | | ok deraadt@ beck@
* added dist.sh script - generates tarballBrent Cook2014-07-291-0/+6
| | | | ok deraadt@ beck@
* produce a error if platform has no arc4random hookBrent Cook2014-07-291-7/+8
| | | | ok deraadt@ beck@
* add asprintf / vasprintf from OpenSSH portableBrent Cook2014-07-295-0/+115
| | | | ok deraadt@ beck@
* Update endian.h for AIX/IRIXpgmassey2014-07-291-0/+8
| | | | | | Added AIX/IRIX compatibility for endian detection. ok bcook@ deraadt@ beck@
* Guard individual compatibility header prototypes.Brent Cook2014-07-284-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 lineBrent Cook2014-07-281-1/+2
|
* prefer - over /dev/stdin for cmp testBrent Cook2014-07-281-1/+1
|
* check link requirements for dl_iterate_phdrBrent Cook2014-07-281-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 scriptsBrent Cook2014-07-282-3/+4
|
* add strndup/strnlen compat functions from OpenBSDBrent Cook2014-07-285-1/+17
|
* include system headers for err.h compat macrosBrent Cook2014-07-281-0/+4
|
* remove thread_private.h, no longer neededBrent Cook2014-07-272-1/+0
|
* remove per-OS arc4random_buf overridesBrent Cook2014-07-241-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 pidwraptestBrent Cook2014-07-232-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 Beck2014-07-211-1/+1
|
* Update README to indicate general policy about intrinsicsBob Beck2014-07-211-0/+5
|
* bump versionBrent Cook2014-07-211-1/+1
|
* build openbsd memmem implementation for explicit_bzero testBrent Cook2014-07-213-1/+7
| | | | | | memmem is not always available, and not all memmem's work the same way ok beck@ guenther@
* compute absolute paths to sourceBrent Cook2014-07-211-10/+11
| | | | | | removes relative path hackery ok beck@ guenther@
* better handle disabled tests and exclude filesBrent Cook2014-07-212-7/+21
| | | | ok beck@ guenther@
* rename local tests to end in test.cBrent Cook2014-07-212-0/+0
| | | | ok beck@ guenther@
* test for and use system explicit_bzero if it existsBrent Cook2014-07-212-1/+10
| | | | ok beck@ guenther@
* include err.h shimBrent Cook2014-07-213-1/+28
| | | | | | Includes compatible replacements, or uses system err.h if available. ok beck@ guenther@
* use correct link order for app and testsBrent Cook2014-07-212-3/+3
| | | | ok beck@ guenther@
* preserve timestamps on copy from upstream checkoutBrent Cook2014-07-211-28/+30
| | | | | | this saves time on rebuilds when testing tarballs ok beck@ guenther@
* conditionally disable -Wpointer-sign where supportedBrent Cook2014-07-201-0/+10
| | | | ok beck@
* update guard, add win32 support for endian.hBrent Cook2014-07-201-6/+22
| | | | | | Thanks to Jonas 'Sortie' Termansen for pointing the guard inconsistency out. ok beck@
* Use correct static link order for unit tests.Brent Cook2014-07-201-2/+2
| | | | | | thanks to Jonas 'Sortie' Termansen ok beck@
* include <_bsd_types.h> on MinGWBrent Cook2014-07-201-0/+4
| | | | ok beck@
* remove thread_private.h defines, moved to arc4random_*.hBrent Cook2014-07-191-14/+0
|
* update to newly-refactored arc4random compatibility shimsBrent Cook2014-07-184-0/+23
| | | | | | the thread-private bits can move next ok beck@
* initial underpinnings for mingw/cross compilation supportBrent Cook2014-07-182-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 timeBrent Cook2014-07-151-0/+0
| | | | | | the test takes many minutes to run on an OS with a slow fork() call ok beck@
* indicate failure to the test harnessBrent Cook2014-07-151-0/+1
| | | | ok beck@
* added fork_rand test to check for PID wraparoundBrent Cook2014-07-153-2/+93
| | | | ok beck@
* crank versionBob Beck2014-07-151-1/+1
|
* register the atfork handler from arc4randomBrent Cook2014-07-151-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 testBrent Cook2014-07-151-1/+1
|