| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
|
| |
|
|
|
|
|
| |
Fix library generation with some CMake generators by including a direct
source file dependency for each library.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add 3 DEF files to export functions from Windows DLLs
- Add gettimeofday to crypto/crypto.def (*1)
- Remove gai_strerrorA from tls/tls.def (*1)
- Fix CMakeLists.txt to use DEF files as PRIVATE
- Change DLL import library file name since it duplicates with static library
- Ignore compiler warning C4267, and Edit CMAKE_C_FLAGS not to overwrite it (*1)
- Add USE_SHARED option to build openssl.exe with shared libraries (*1)
(*1) recommended by @mcnameej
|
|\ |
|
| |
| |
| |
| | |
see https://github.com/libressl-portable/openbsd/pull/64
|
| |
| |
| |
| |
| |
| |
| | |
like below.
* libcrypto-38.dll
* libssl-39.dll
* libtls-11.dll
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
This confuses some cmake targets.
|