aboutsummaryrefslogtreecommitdiff
path: root/crypto (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build Windows DLL on CMakeSatoshi Yasushima2016-08-251-1/+3
| | | | | | | like below. * libcrypto-38.dll * libssl-39.dll * libtls-11.dll
* build MinGW on CMakeSatoshi Yasushima2016-08-251-1/+1
|
* compat gentroy() for macs is called gentropy_osx.cTamer Saadeh2016-08-071-1/+1
|
* set link library dependencies with MSVC, fixes #221Brent Cook2016-07-311-0/+3
|
* add constant_time_locl.hBrent Cook2016-05-041-0/+2
|
* add cmake build optionskinichiro2016-04-141-0/+6
| | | | | | | | | | | | | - add cmake build options as configure provides * -DENABLE_ASM (default ON) * -DENABLE_EXTRATESTS (default OFF) * -DENABLE_NC (default OFF) * -DOPENSSLDIR (default ${CMAKE_INSTALL_PREFIX}/etc/ssl) - add biotest and pidwraptest if ENABLE_EXTRATESTS is ON - add compiler flag `-fno-common` if CMAKE_SYSTEM_NAME is Darwin to prevent link error Undefined symbols "_OPENSSL_ia32cap_P"
* Land #188, add ASM support for cmake buildsBrent Cook2016-04-091-8/+107
|\
| * modify cmake to build ASMkinichiro2016-04-081-8/+107
| | | | | | | | | | - add functionality compiling ASM with cmake - to enable ASM, `cmake -DENABLE_ASM=on ..`
* | modify cmake to build nckinichiro2016-04-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | - 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
* | fix cmake on HP-UXkinichiro2016-04-041-0/+2
|/ | | | | | | | | | | | | | | | | - CMakeLists.txt * add OS specific compiler flags and library * add checking size of time_t * add checking memmem() - tests/CMakeLists.txt * add if(HAVE_MEMMEM) for explicit_bzero * add checking SMALL_TIME_T for rfc5280time - crypto/CMakeLists.txt * add getentropy_hpux.c - tls/CMakeLists.txt * fix checking strsep
* 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
|