| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
crypto library requires strtonum now, and add it to compat library.
remove it from applications compat/ directories.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
check_function_exists misinterprets as if strtonum exists on macos 10.15.
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
- 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
|
|\
| |
| |
| |
| |
| | |
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.
|
| |
|
|
|
|
|
| |
- remove the CP_LIBC files from repo
- move tests/memmem.c to tests/compat/
|
| |
|
| |
|
|
|
|
| |
This reverts commit 30adf9c06e8d3d7ac9e89f4b2b290567bcafa75c.
|
| |
|
|\ |
|
| |
| |
| |
| | |
- 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"
|
|
|
|
|
|
|
|
|
|
|
| |
- modify structure of CMakeLists.txt under apps/
* move apps/CMakeLists.txt to apps/openssl/ since this is for openssl build
* create new apps/nc/CMakeLists.txt for nc build
* modify apps/CMakeLists.txt just add_subdirectory()
- add checking and compile of arc4random_uniform()
- add installing man files, openssl.1 and nc.1
|
| |
|
|
|
|
| |
this also fixes the formatting of help for nc(1)
|
|
|
|
|
| |
Some implementations, e.g. cygwin, use a table lookup that can cast
a char to a negative array offset.
|
|
|
|
|
|
| |
CPPFLAGS should just be set by the user at configure time
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|