| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| | |
|
|/ |
|
|\ |
|
| |
| |
| |
| | |
- To avoid ld warning on Solaris, use abs_top_builddir in Makefile.am
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
- 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 also fixes the formatting of help for nc(1)
|
|
|
|
| |
fix #160
|
| |
|
| |
|
|
|
|
| |
This confuses some cmake targets.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
Move define adjustments to CPPFLAGS.
Adjust user CFLAGS directly, do not override during configuration.
USER_CFLAGS is not necessary to build libcompat_noopt correctly.
|