Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix fcntl.h shim since HP-UX 11.31 (ia64) does not define O_CLOEXEC | kinichiro | 2017-01-19 | 1 | -2/+2 |
| | |||||
* | MSVSC fixes | Brent Cook | 2017-01-16 | 3 | -6/+8 |
| | |||||
* | add open(2) shim to handle O_BINARY and O_CLOEXEC | Brent Cook | 2017-01-16 | 1 | -0/+6 |
| | |||||
* | add fcntl shim | Brent Cook | 2017-01-16 | 2 | -0/+33 |
| | |||||
* | add noreturn attribute to compat functions | Brent Cook | 2017-01-15 | 1 | -0/+10 |
| | |||||
* | include pipe2/socketpair compat for macOS | Brent Cook | 2017-01-15 | 2 | -0/+11 |
| | |||||
* | define PATH_MAX in more msvc versions | Brent Cook | 2016-10-30 | 1 | -0/+8 |
| | |||||
* | Enable tests on Visual Studio | kinichiro | 2016-10-30 | 1 | -0/+2 |
| | | | | | | | | | | | - add patch for aeadtest.c to undef IN - add patch for ocsp_test.c to call BIO_sock_init() before getaddrinfo() - define STDERR_FILENO in unistd.h to build pkcs7test.c - add option ENABLE_VSTEST(default OFF) to enable test on Visual Studio - modify to pass test data file as an argument (aeadtest, evptest) - add Windows scripts (ocsptest, pq_test, ssltest, testdsa, testenc, testrsa) - do not build pidwraptest on MSVC - fix some indentations | ||||
* | ensure that __STRING works | Brent Cook | 2016-09-14 | 1 | -0/+5 |
| | |||||
* | more cdefs.h removal | Brent Cook | 2016-09-04 | 2 | -3/+0 |
| | |||||
* | cdefs.h should not be required anywhere | Brent Cook | 2016-09-04 | 2 | -31/+16 |
| | |||||
* | wire up sys/types.h to pull in sys/cdefs.h | Brent Cook | 2016-09-04 | 1 | -0/+2 |
| | |||||
* | modify cmake to build nc | kinichiro | 2016-04-09 | 1 | -1/+1 |
| | | | | | | | | | | | - modify structure of CMakeLists.txt under apps/ * move apps/CMakeLists.txt to apps/openssl/ since this is for openssl build * create new apps/nc/CMakeLists.txt for nc build * modify apps/CMakeLists.txt just add_subdirectory() - add checking and compile of arc4random_uniform() - add installing man files, openssl.1 and nc.1 | ||||
* | modify include/compat/netinet/ip.h | kinichiro | 2016-03-13 | 1 | -0/+4 |
| | | | | - add including <netinet/in_systm.h> for n_long on HP-UX | ||||
* | add solaris include for getentropy(2) | Brent Cook | 2016-01-18 | 1 | -0/+7 |
| | |||||
* | replace err.h macros with inline functions | Brent Cook | 2016-01-03 | 1 | -8/+54 |
| | | | | Passing NULL for the format is just easier with a function. | ||||
* | include strings.h in string.h on AIX as well | Brent Cook | 2016-01-03 | 1 | -2/+3 |
| | |||||
* | refresh nc(1) support | Brent Cook | 2015-12-06 | 1 | -0/+1 |
| | |||||
* | wrap gets on Windows, replacing '\r\n' with '\n' | Brent Cook | 2015-12-05 | 1 | -0/+2 |
| | |||||
* | no special workaround needed for MSVC2015 | Brent Cook | 2015-12-02 | 1 | -4/+0 |
| | |||||
* | Windows compatibility fixes | Brent Cook | 2015-10-18 | 2 | -4/+13 |
| | | | | | | | | | | | VS2013 has trouble with relative include paths for apps/openssl, so move certhash_win/apps_win.c back to apps/openssl. gmtime_r on mingw64 fails with negative time_t, override gmtime_s fails all of the time unit tests, override SHUT_RD/WR are defined in newer mingw64 headers, check before overriding | ||||
* | disable some tests with 32-bit time_t systems | Brent Cook | 2015-10-17 | 1 | -4/+0 |
| | | | | Also disable use of _mkgmtime, it does not produce correct results. | ||||
* | unconditionally disable pledge for now | Brent Cook | 2015-10-15 | 1 | -2/+0 |
| | | | | suggested by deraadt@ since there is still more coming | ||||
* | include timegm fallback | Brent Cook | 2015-10-15 | 2 | -6/+5 |
| | |||||
* | add limits.h shim for defining PATH_MAX on HP-UX | Brent Cook | 2015-10-14 | 2 | -0/+27 |
| | |||||
* | check for pledge(2) | Brent Cook | 2015-10-12 | 1 | -2/+2 |
| | |||||
* | resolve tame to 0 | Brent Cook | 2015-10-07 | 1 | -1/+1 |
| | |||||
* | add tame(2) check | Brent Cook | 2015-10-07 | 1 | -0/+4 |
| | |||||
* | rename _mkgmtime as timegm on win32 | Brent Cook | 2015-10-07 | 1 | -0/+4 |
| | |||||
* | add b64_ntop checking and fallback for nc(1) | Brent Cook | 2015-10-01 | 3 | -4/+25 |
| | |||||
* | add include/compat/readpassphrase.h to Makefile.am | kinichiro | 2015-09-17 | 1 | -0/+1 |
| | | | | fix for https://github.com/libressl-portable/portable/issues/138 | ||||
* | fixup windows and older linux builds | Brent Cook | 2015-09-13 | 2 | -0/+11 |
| | |||||
* | allow nc to build on linux and os x | Brent Cook | 2015-09-13 | 4 | -11/+92 |
| | |||||
* | remove support for old MSVC versions, KNF | Brent Cook | 2015-09-09 | 1 | -551/+405 |
| | |||||
* | updates for MSVC 2015's degenerate headers | Brent Cook | 2015-09-09 | 7 | -3/+38 |
| | | | | | | Note that 'perror' moves from stdio.h to stdlib.h, and 'rename' moves from stdio.h to io.h. Also, standard C includes move from the compiler to the Windows SDK, which changes the base path for the include files. | ||||
* | distribute include and man CMakefiles | Brent Cook | 2015-09-07 | 1 | -0/+2 |
| | |||||
* | Add install targets and shared libraries to CMake | Jeff Davey | 2015-08-18 | 1 | -0/+5 |
| | |||||
* | correct fallback err.h macro behavior | Brent Cook | 2015-07-22 | 1 | -4/+4 |
| | |||||
* | move sleep shim to posix_win.c | Brent Cook | 2015-07-21 | 1 | -5/+1 |
| | |||||
* | tighten up compat include paths, fix glibc compatibility | Brent Cook | 2015-07-21 | 4 | -16/+10 |
| | |||||
* | add initial CMake and Visual Studio build support | Brent Cook | 2015-07-21 | 31 | -130/+1058 |
| | | | | | | | | This moves the compatibility include files from include to include/compat so we can use the awful MS C compiler <../include/> trick to emulate the GNU #include_next extension. This also removes a few old compat files we do not need anymore. | ||||
* | implement compatibility shim for __warn_references | Brent Cook | 2015-07-17 | 2 | -0/+32 |
| | | | | This will allow us to warn about deprecated function references at link-time. | ||||
* | add compatible version of arpa/nameser.h for Windows | Brent Cook | 2015-07-02 | 1 | -0/+23 |
| | |||||
* | add check for inet_pton, nudge minimum win32 compat to 0x0501 | Brent Cook | 2015-07-02 | 2 | -0/+10 |
| | |||||
* | refactor win32 shims into posix_win.c | Brent Cook | 2015-06-05 | 2 | -150/+18 |
| | | | | this also adds a rename shim that allows overwrites | ||||
* | all file IO should be binary, auto-append the flag | Brent Cook | 2015-06-05 | 1 | -0/+20 |
| | |||||
* | remove issetuigid wrappers, now that all getenv calls are gone. | Brent Cook | 2015-04-14 | 1 | -4/+0 |
| | | | | | | | | | | | From deraadt@ upstream: Remove all getenv() calls, especially those wrapped by issetugid(). getenv()'s wrapped by issetugid() are safe, but issetugid() is ... difficult to impliment on many operating systems. By accident, a grand experiment was run over the last year, where issetugid() returned 1 (the safe value) on a few operating systems. Noone noticed & complained that certain environment variables were not working....... | ||||
* | enable libtls by default | Brent Cook | 2015-03-19 | 1 | -2/+0 |
| | | | | | | | | The API/ABI for the LibreSSL 2.1.x series is now fixed, so we can safely enable libtls it by default. This is useful for new OpenNTPD and OpenSMTPD releases as well. ok deraadt@ beck@ sthen@ | ||||
* | add strsep fallback for libtls | Brent Cook | 2015-02-14 | 1 | -0/+4 |
| | |||||
* | include 'struct iovec' for Windows | Brent Cook | 2015-01-31 | 2 | -0/+18 |
| | | | | this is used for in-memory cert loading |