aboutsummaryrefslogtreecommitdiff
path: root/apps (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update for speed.c and .h churnTheo Buehler2025-01-021-5/+0
|
* use TIMEVAL typedef with select()Brent Cook2024-10-061-1/+1
| | | | | | | This prevents the compatibility struct timeval definition in sys/time.h from potentially getting used with select() here. https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-select
* for poll timeout -1, set loop time more reasonablyBrent Cook2024-10-061-2/+2
| | | | | Otherwise it sets looptime to -1, which was skipped by select() and caused 100% cpu busy looping.
* Switch to check_symbol_exists() in simplest casesTheo Buehler2024-08-211-1/+1
| | | | | | | | There are a few exceptions. Some require _GNU_SOURCE, some are in the weird strings.h header, some are probably too new to be found in the standard locations. Fixes #1077
* spkac.c is no moreTheo Buehler2024-07-082-2/+0
|
* nc needs compat_obj on some platformsViktor Szakats2023-12-141-1/+1
|
* cmake: stop exporting compat functionsViktor Szakats2023-12-142-2/+2
|
* also fix ocspcheck and nc, dedupe build logicViktor Szakats2023-11-052-10/+2
|
* MSVC: Enable building ocspcheck.Pierre Wendling2023-10-291-4/+0
| | | | | | | - Add `STDIN_FILENO` to compat unistd header. - Use quotes to include compat getopt header in the compat unistd. - Export additional symbols needed by ocspcheck (optarg, optind, ftruncate)
* generate opensslconf.h in build dir for cmakeBrent Cook2023-07-043-12/+27
|
* link internal apps staticallyBrent Cook2023-05-273-9/+23
|
* A handful of files were removedTheo Buehler2023-04-252-2/+0
|
* Fix unreachable nc portability shimSebastian Blunt2022-04-151-2/+1
| | | | | | | | | | | | | | | | This fixes nc failing to run on darwin due to it incorrectly setting the linux-specific SOCK_NONBLOCK flag on connect. nc already had a portability shim in apps/nc/compat/sys/socket.h, which kicks in if SOCK_NONBLOCK is undefined. But that header includes include/compat/sys/socket.h, which also has a portability shim that defines a default value for SOCK_NONBLOCK if it's undefined. Thus the first portability shim was unreachable. Fixes this by moving the NEED_SOCKET_FLAGS flag into the outer shim, and having the inner shim activate if NEED_SOCKET_FLAGS is defined. This closes https://github.com/libressl-portable/portable/issues/631
* Add strtonum to compat library and export itkinichiro2021-12-266-36/+0
| | | | | crypto library requires strtonum now, and add it to compat library. remove it from applications compat/ directories.
* Remove unneeded target_include_directories with cmakekinichiro2021-12-043-0/+3
| | | | | | | This could remove recurring of the same statement for include directories. Instead of this removals, apps/* and tests should have include path that had been provided by INTERFACE_INCLUDE_DIRECTORIES of target libs and internal static libs.
* Force cmake to link strtonum shim with Darwin less than 20kinichiro2021-05-223-3/+6
| | | | check_function_exists misinterprets as if strtonum exists on macos 10.15.
* Statically link libcrypto/ssl into libtls with cmakekinichiro2021-05-071-1/+1
|
* Add '--enable-libtls-only' build optionBrent Cook2021-04-073-42/+9
|
* modify nc build to link libcompat objects directlyBrent Cook2020-10-201-2/+6
| | | | Rather than assuming the static version of libcrypto exists for pulling in the compatibility functions, link the compat objects directly. This modifies the object file generation script a bit to handle the empty-case properly as well.
* include strtonum for ocspcheckBrent Cook2020-10-192-0/+11
|
* Link crypto and ssl object files directly instead of static librarykinichiro2020-10-041-1/+1
| | | | | | - Output object files list variable for libcrypto and libssl to .mk file. - Include object files list variable .mk from tls/Makefile - Link .lo files directly instead of static library for libtls.
* Configure libtls and nc(1) to statically link to libcrypto/sslBrent Cook2020-10-041-3/+3
| | | | | | | | | | | | | | | An issue that Reyk Floeter noted while building a Debian package for LibreSSL is that installing libtls along with OpenSSL causes linker issues since it will often pick up the wrong libcrypto/libssl. This change makes libtls statically link the object files it needs rather than relying on the shared libraries, effectively making libtls self-contained and able to be packaged independently. This should make it possible for other projects that also use libtls to be able to package support without requiring the target OS to ship libcrypto / libssl from LibreSSL. https://salsa.debian.org/reyk-guest/libressl/-/commit/678278df55ce866f2f363998ca690442fa786c66
* Install ocspcheck.8 manualkinichiro2020-01-091-0/+2
|
* re-add CMS to openssl(1)Brent Cook2019-11-072-0/+2
|
* Enable speed on win32kinichiro2019-07-141-0/+66
| | | | | - Use thread and sleep instead of signal and alarm, on win32 - Disable -multi option on win32 since fork is hard to implement
* Fix MacOSX cmake missing symbol _clock_gettimepaul43342019-04-301-0/+7
| | | | | | | | | | | | On El Capitan: [exec] [100%] Linking C executable openssl [exec] Undefined symbols for architecture x86_64: [exec] "_clock_gettime", referenced from: [exec] _app_timer_real in apps_posix.c.o [exec] ld: symbol(s) not found for architecture x86_64 [exec] clang: error: linker command failed with exit code 1 (use -v to see invocation) [exec] make[2]: *** [apps/openssl/openssl] Error 1 [exec] make[1]: *** [apps/openssl/CMakeFiles/openssl.dir/all] Error 2 [exec] make: *** [all] Error 2
* implement app_timer_realBrent Cook2018-09-231-0/+14
|
* add private includes for apps and testsBrent Cook2018-06-143-3/+3
|
* scope private/public headers when embedding into other projectsBrent Cook2018-05-293-20/+3
| | | | thanks to Cameron Palmer
* add proper guard and typedefBrent Cook2018-03-231-1/+1
|
* adjust definition of compat clock_gettimeBrent Cook2018-03-231-1/+1
|
* add clock_gettime for macos 10.11 and earlierBrent Cook2018-03-222-0/+32
|
* Remove CMAKE_HOST_ referencesDon2018-03-161-2/+2
| | | | CMAKE_HOST_ describes the host system not the target. For cross compilation to work the actual target system should be used for making decisions in CMake.
* bump base requirement to Windows Vista, use builtin inet_ntop/ptonBrent Cook2018-03-142-11/+0
|
* Add app_timer_user for Windows buildkinichiro2017-12-261-7/+5
|
* Create correct directory in CMake install.Aric Belsito2017-11-061-1/+1
| | | | Was creating ${CONFDIR}/cert instead of ${CONFDIR}/certs.
* Fix checking memmem in apps/ocspcheck/CMakeLists.txtkinichiro2017-09-261-1/+1
| | | | - Issue #352 pointed out by @d3x0r
* use standard initialization for poll loop delayBrent Cook2017-08-131-1/+3
|
* Merge branch 'master' of https://github.com/libressl-portable/portable into ↵d3x0r2017-07-063-6/+7
|\ | | | | | | | | | | SkipInstall Fix merge conflicts from GNUInstallDirs merge to master.
| * use GNUInstallDirs from cmake to specify install paths.d3x0r2017-07-063-6/+6
| | | | | | | | Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
* | Add option LIBRESSL_SKIP_INSTALLd3x0r2017-07-063-8/+16
|/ | | | | | | | Internally LIBRESSL_SKIP_INSTALL, if not set becomes ENABLE_LIBRESSL_INSTALL so this by default is enabled. defining LIBRESSL_SKIP_INSTALL before hand will disable all install() rules. This is useful if another project includes and links to this statically. I chose to add a prefix to avoid potential name collision because the options are cached globally. If the installation is skipped, maybe it should also disable building apps? I didn't do that.
* add nc(1) manpage to install if enabledBrent Cook2017-04-121-0/+1
|
* Copy libc compat files rather than adding into the repositorykinichiro2017-01-282-380/+0
| | | | | - remove the CP_LIBC files from repo - move tests/memmem.c to tests/compat/
* skip building ocspcheck on MSCVBrent Cook2017-01-271-0/+4
|
* Copy openbsd library file every time rather than statically checking inkinichiro2017-01-273-267/+0
|
* Add inet_ntop and memmem for ocspcheckkinichiro2017-01-264-0/+289
|
* Move strsep.c to crypto/compat/ and add ocspcheck build to CMakekinichiro2017-01-251-0/+1
|
* initial ocspcheck integrationBrent Cook2017-01-243-1/+40
|
* fix static mingw builds, platform LDADD needs to come at the endBrent Cook2017-01-092-4/+4
|
* remove unneeded slash after DESTDIRkinichiro2016-10-301-4/+4
|