aboutsummaryrefslogtreecommitdiff
path: root/crypto (follow)
Commit message (Collapse)AuthorAgeFilesLines
* set link library dependencies with MSVC, fixes #221Brent Cook2016-07-311-0/+3
|
* add constant_time_locl.hBrent Cook2016-05-021-0/+2
|
* Revert back to GetStdHandle, since it works fine with pipes.Brent Cook2015-12-111-6/+6
| | | | | Also include the formerly-missing NULL check, since this can fail in two ways.
* include stdint.h uint*_tBrent Cook2015-12-111-0/+1
|
* Replace STDIN_FILENO with _filenoAnthony Novatsis2015-12-111-3/+3
| | | | | Replace STDIN_FILENO with _fileno as STDIN_FILENO results in compile errors with Visual Studio 2015 (using CMake).
* refresh nc(1) supportBrent Cook2015-12-061-0/+1
|
* only set the console mode if stdin is a console (not a pipe)Brent Cook2015-12-061-9/+21
| | | | This allows piping commands and running from a cygwin console.
* wrap gets on Windows, replacing '\r\n' with '\n'Brent Cook2015-12-051-0/+14
|
* do not link libcompatnoopt if it is unneeded/builtBrent Cook2015-11-221-3/+8
| | | | from andy-js on github, fix #158
* remove a_gen/utctm.c for cmakeBrent Cook2015-10-211-2/+0
|
* check bounds before casting (long long) to time_tBrent Cook2015-10-211-0/+6
|
* remove a_gen/utctm.cBrent Cook2015-10-211-2/+0
|
* Windows compatibility fixesBrent Cook2015-10-181-0/+12
| | | | | | | | | | | 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 systemsBrent Cook2015-10-171-2/+0
| | | | Also disable use of _mkgmtime, it does not produce correct results.
* check for timegm in cmake buildsBrent Cook2015-10-151-0/+4
|
* make internal functions staticBrent Cook2015-10-151-4/+4
|
* use timegm from muslBrent Cook2015-10-151-60/+191
|
* include timegm fallbackBrent Cook2015-10-152-0/+77
|
* Use bundled headers instead of installed headers when buildingJeremy Huddleston Sequoia2015-10-141-4/+5
| | | | | | | | | | | | | The build system incorrectly set include directives in AM_CFLAGS which causes them to be placed after the configured CPPFLAGS. Thus, if a user or packaging system sets CPPFLAGS to a location that has libressl or openssl headers installed, they will be used instead of the bundled versions. This corrects that issue by setting up the variables correctly. https://github.com/libressl-portable/portable/issues/150 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* updates for ASN.1 time handlingBrent Cook2015-10-062-0/+2
|
* remove SHA-0 from cmake buildsBrent Cook2015-09-171-3/+0
|
* final bit of SHA-0 removalBrent Cook2015-09-171-1/+0
|
* remove SHA-0Brent Cook2015-09-171-2/+0
|
* remove ecdh/ech_ossl.cBrent Cook2015-09-131-1/+0
|
* fix spelling of OPENSSL_cleanseBrent Cook2015-09-131-1/+1
|
* ech_ossl.h is goneBrent Cook2015-09-131-1/+0
|
* Do not build lib-objects targets if we are just building static libs.Brent Cook2015-09-091-8/+8
| | | | This confuses some cmake targets.
* distribute strcasecmp.cBrent Cook2015-09-071-0/+3
|
* disable shared CMake builds for OS X / Windows for nowBrent Cook2015-09-071-4/+8
|
* Add install targets and shared libraries to CMakeJeff Davey2015-08-181-1/+9
|
* disable explicit_bzero optimizations with CMake buildsBrent Cook2015-08-031-0/+1
|
* add win32-specific explicit_bzero implementationBrent Cook2015-08-032-0/+17
|
* initial Linux cmake suppportBrent Cook2015-08-011-0/+2
| | | | tested on Ubuntu 14.04
* don't build eng_rsax.c anymoreBrent Cook2015-07-211-1/+0
|
* move sleep shim to posix_win.cBrent Cook2015-07-211-0/+7
|
* add initial build for arc4random/getentropy fallbacksBrent Cook2015-07-211-3/+18
|
* add initial CMake and Visual Studio build supportBrent Cook2015-07-213-0/+651
| | | | | | | | 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.
* eng_rsax is goneBrent Cook2015-07-201-1/+0
|
* win32 openssl CLI: preserve original echo stateBrent Cook2015-07-161-9/+9
| | | | | | | Mirror the patch to ui_openssl.c, also fix the broken conditional that made it not actually turn off echo in the first place. ok guenther@
* fixup how OPENSSLDIR is derived and expandedBrent Cook2015-07-151-0/+6
| | | | | | | | As per http://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Installation-Directory-Variables.html we should not try to expand variables like sysconfdir in the configure script, but rather derive the correct value in the Makefiles instead. This fixes missing expansions as the preprocessor define.
* build libcrypto with -DLIBRESSL_INTERNALBrent Cook2015-07-151-1/+2
| | | | | Since libcrypto defines its own CPPFLAGS, we need to set this for libcrypto specifically.
* add check for inet_pton, nudge minimum win32 compat to 0x0501Brent Cook2015-07-022-0/+216
|
* update for mdc2 removalBrent Cook2015-06-201-5/+0
|
* add a missing header and fix typo in windows posix layerBrent Cook2015-06-131-1/+2
|
* refactor win32 shims into posix_win.cBrent Cook2015-06-052-0/+171
| | | | this also adds a rename shim that allows overwrites
* add Makefile.am.arc4randomBrent Cook2015-05-231-0/+45
|
* further refactoring, working libtls-standaloneBrent Cook2015-05-231-43/+1
|
* remove issetuigid wrappers, now that all getenv calls are gone.Brent Cook2015-04-146-231/+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.......
* Add experimental AIX support.Brent Cook2015-03-313-1/+118
| | | | | This includes a WIP failsafe issetugid for now, while research continues on the proper way to do this in a race-free fashion in AIX.
* rework CFLAGS/CPPFLAGS settings during configurationBrent Cook2015-03-223-38/+36
| | | | | | Move define adjustments to CPPFLAGS. Adjust user CFLAGS directly, do not override during configuration. USER_CFLAGS is not necessary to build libcompat_noopt correctly.