| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Pointed out by @vszakats in #1100
|
|
|
|
| |
Suggested by Viktor Szakats in #1084
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \ |
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
- 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)
|
|
|
|
|
| |
This allows users to install the CMake configs without forcing a
`LibreSSL` directory after `LIBRESSL_INSTALL_CMAKEDIR`.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
breaks latest macOS linker to have a directory in the object list
|
|
|
|
|
| |
Fix library generation with some CMake generators by including a direct
source file dependency for each library.
|
|
|
|
|
| |
Build and link a special test library rather than assuming that the
build has static libraries available.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
thanks to Cameron Palmer
|
| |
|
|\ |
|
| |
| |
| |
| | |
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.
|
|\ \ |
|
| |/
| |
| |
| | |
On Windows shared libraries should be installed into the bin directory. Using grouping within CMake based on the target type fixes this issue.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| |
| | |
SkipInstall
Fix merge conflicts from GNUInstallDirs merge to master.
|
| |
| |
| |
| | |
Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
|
|/
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|