aboutsummaryrefslogtreecommitdiff
path: root/tls (follow)
Commit message (Collapse)AuthorAgeFilesLines
* try avoiding empty compat libsViktor Szakats2023-12-141-1/+1
|
* cmake: stop exporting compat functionsViktor Szakats2023-12-141-11/+19
|
* Land #932, use existing crypto/ssl libs for tls testsBrent Cook2023-11-051-3/+2
|\
| * slim `tls-static` library (used in tests)Viktor Szakats2023-11-041-3/+2
| | | | | | | | | | | | | | | | | | Instead of including a full copy of libcrypto and libssl in libtls-static, link existing libcrytpo-static and libssl-static to the test targets. This wasn't causing any issue, just unnecessarily duplicating a lot of objects.
* | Land #930, consistently use default CA cert location for WindowsBrent Cook2023-11-051-5/+1
|\ \
| * | also fix ocspcheck and nc, dedupe build logicViktor Szakats2023-11-051-9/+1
| | |
| * | cmake: fix default `TLS_DEFAULT_CA_FILE` value in libtls for WindowsViktor Szakats2023-11-041-1/+5
| |/ | | | | | | | | | | | | Matching the logic used for `libcrypto` (and in autotools builds for both `libcrypto` and `libtls`), set the default `TLS_DEFAULT_CA_FILE` value to `C:/Windows/libressl/ssl/...`, replacing the current, potentialy world-writable filename.
* / slim down `libtls`Viktor Szakats2023-11-041-3/+2
|/ | | | | | | By dropping copies of `libcrypto` and `libssl` lib objects from it. This brings back its size to the normal ~100KB from ~4MB. autotools already worked like this.
* MSVC: Enable building ocspcheck.Pierre Wendling2023-10-291-0/+2
| | | | | | | - 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)
* Move `LibreSSL/` to `LIBRESSL_INSTALL_CMAKEDIR`.Pierre Wendling2023-08-191-1/+1
| | | | | This allows users to install the CMake configs without forcing a `LibreSSL` directory after `LIBRESSL_INSTALL_CMAKEDIR`.
* CMake: Export and install library targets.Pierre Wendling2023-08-191-3/+29
| | | | | | | | The configs can be consumed by setting LibreSSL_DIR to the build directory, or after installation using CMAKE_PREFIX_PATH/LibreSSL_DIR. For compatibility, the EXPORT_NAME of targets and the LIBRESSL_* variables are set to match the names used in FindLibreSSL.
* fixes #681, allow override of library POSTFIX for nested buildsBrent Cook2023-07-071-1/+1
|
* only link libtls statically to libssl/libcrypto when building standaloneBrent Cook2023-07-051-1/+8
|
* generate opensslconf.h in build dir for cmakeBrent Cook2023-07-041-1/+2
|
* fix dangling whitespace when building object listBrent Cook2023-05-271-1/+1
| | | | breaks latest macOS linker to have a directory in the object list
* add direct source dependency to each libraryBrent Cook2022-12-142-1/+2
| | | | | Fix library generation with some CMake generators by including a direct source file dependency for each library.
* Build a static test library with all symbolsBrent Cook2022-12-131-0/+9
| | | | | Build and link a special test library rather than assuming that the build has static libraries available.
* Add tls/tls_signer.ckinichiro2022-01-262-0/+2
|
* Remove unneeded target_include_directories with cmakekinichiro2021-12-041-12/+0
| | | | | | | 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.
* Build static library for regression tests when shared build with CMakekinichiro2021-11-271-0/+14
|
* Statically link libcrypto/ssl into libtls with cmakekinichiro2021-05-071-3/+13
|
* Use object library for CMakekinichiro2021-05-021-1/+9
|
* Link crypto and ssl object files directly instead of static librarykinichiro2020-10-041-3/+8
| | | | | | - 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
* TLS target properties when building static libsDan Nestor2020-03-021-11/+9
|
* Override the default path of cert.pem in libtlskinichiro2019-11-162-4/+4
|
* update cmakeBrent Cook2019-01-311-1/+0
|
* update autoconf for latest compat functionsBrent Cook2019-01-312-19/+0
|
* Fix cmake to generate proper Libs.private in .pc fileskinichiro2018-10-051-1/+1
|
* Fix cmake linking librarieskinichiro2018-10-031-2/+1
|
* make headers under include/compat private againBrent Cook2018-06-141-2/+2
|
* scope private/public headers when embedding into other projectsBrent Cook2018-05-291-6/+7
| | | | thanks to Cameron Palmer
* Use BUILD_SHARED_LIBS to specify library typeDon2018-03-211-14/+8
|
* Land #402, Remove CMAKE_HOST_ referencesBrent Cook2018-03-181-9/+9
|\
| * Remove CMAKE_HOST_ referencesDon2018-03-161-9/+9
| | | | | | | | 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.
* | Land #400, Use groups in CMake install command for librariesBrent Cook2018-03-181-6/+10
|\ \
| * | Use groups in CMake install command for librariesDon2018-03-161-6/+10
| |/ | | | | | | On Windows shared libraries should be installed into the bin directory. Using grouping within CMake based on the target type fixes this issue.
* / Fix using right functions for file descriptor with MS Visual Studiokinichiro2018-03-184-0/+20
|/
* Add compat bits for libtls on Windowskinichiro2018-02-256-0/+90
|
* Add tls/tls_keypair.ckinichiro2018-02-112-0/+2
|
* ssl/tls cmake: fix shared library dependenciesMasud Rahman2017-07-241-1/+2
| | | | | | Ensure that the 'ssl' depends on 'crypto' and that 'tls' depends on 'ssl' and 'crypto' for all platforms. Prior to this commit, the dependency was only specified for the 'WIN32' CMake build.
* Merge branch 'master' of https://github.com/libressl-portable/portable into ↵d3x0r2017-07-061-2/+2
|\ | | | | | | | | | | SkipInstall Fix merge conflicts from GNUInstallDirs merge to master.
| * use GNUInstallDirs from cmake to specify install paths.d3x0r2017-07-061-2/+2
| | | | | | | | Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
* | Add option LIBRESSL_SKIP_INSTALLd3x0r2017-07-061-2/+6
|/ | | | | | | | 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.
* Move strsep.c to crypto/compat/ and add ocspcheck build to CMakekinichiro2017-01-252-8/+0
|
* Stop generating .def files by update.shkinichiro2017-01-181-1/+0
|
* Add export symbol support to CMakekinichiro2017-01-181-2/+1
|
* Define CMake library object lists globallyMatt Stancliff2017-01-121-1/+1
| | | | | | | | | OBJECT collections in CMake don't generate any artifacts so these are safe to hoist out and define globally. library OBJECT targets are just a list of filenames. It can be useful for other projects to include lists of sources directly regardless of build mode (shared, static, or library).
* remove check-in .def and ignore .sym filesBrent Cook2016-11-061-72/+0
|
* implement support for hiding symbols in libtls / libsslBrent Cook2016-11-062-25/+12
|