|
d7a9ca6d
|
2025-08-28T13:42:04
|
|
Fix inconsistencies in accept4.c
Fix inconsistencies in accept4.c. If the underlying accept() fails the shim returns the listening socket s instead of −1.
|
|
340037f6
|
2025-06-01T08:20:41
|
|
add autotools build copyright headers
|
|
c51665d4
|
2025-06-01T08:11:22
|
|
add copyright headers to Cmake files
based on original committer and date
|
|
1ff9793d
|
2024-08-02T22:18:05
|
|
Switch to check_symbol_exists() in simplest cases
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
|
|
fccbb9b5
|
2023-12-14T04:39:35
|
|
nc needs compat_obj on some platforms
|
|
89fcb1a3
|
2023-11-05T08:56:09
|
|
also fix ocspcheck and nc, dedupe build logic
|
|
71ce0b8c
|
2023-07-04T10:37:24
|
|
generate opensslconf.h in build dir for cmake
|
|
a316f8ab
|
2022-12-18T22:10:11
|
|
link internal apps statically
|
|
cfbdf67f
|
2022-12-18T22:10:11
|
|
link internal apps statically
|
|
fe903fb7
|
2022-04-15T23:48:50
|
|
Fix unreachable nc portability shim
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
|
|
adde656b
|
2021-12-26T15:42:47
|
|
Add strtonum to compat library and export it
crypto library requires strtonum now, and add it to compat library.
remove it from applications compat/ directories.
|
|
c211d97e
|
2021-12-04T10:49:59
|
|
Remove unneeded target_include_directories with cmake
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.
|
|
39c7fa8a
|
2021-05-22T10:58:13
|
|
Force cmake to link strtonum shim with Darwin less than 20
check_function_exists misinterprets as if strtonum exists on macos 10.15.
|
|
4c56df46
|
2021-05-02T15:50:37
|
|
Statically link libcrypto/ssl into libtls with cmake
|
|
9abd36e3
|
2020-10-18T22:14:03
|
|
modify nc build to link libcompat objects directly
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.
|
|
5a29b047
|
2020-09-20T13:37:52
|
|
Link crypto and ssl object files directly instead of static library
- 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.
|
|
fe42a801
|
2020-08-20T09:30:21
|
|
Configure libtls and nc(1) to statically link to libcrypto/ssl
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
|
|
bf368e58
|
2018-06-14T05:59:20
|
|
add private includes for apps and tests
|
|
4fcfc82d
|
2018-05-29T05:44:34
|
|
scope private/public headers when embedding into other projects
thanks to Cameron Palmer
|
|
a4d80ca5
|
2017-07-06T23:11:11
|
|
Merge branch 'master' of https://github.com/libressl-portable/portable into SkipInstall
Fix merge conflicts from GNUInstallDirs merge to master.
|
|
2557dd74
|
2017-07-06T02:09:44
|
|
Add option LIBRESSL_SKIP_INSTALL
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.
|
|
a2bd5eba
|
2017-07-06T01:49:43
|
|
use GNUInstallDirs from cmake to specify install paths.
Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
|
|
9d2418ae
|
2017-04-12T08:18:20
|
|
add nc(1) manpage to install if enabled
|
|
58eb645f
|
2017-01-28T03:40:38
|
|
Copy libc compat files rather than adding into the repository
- remove the CP_LIBC files from repo
- move tests/memmem.c to tests/compat/
|
|
c6914595
|
2017-01-09T02:22:26
|
|
fix static mingw builds, platform LDADD needs to come at the end
|
|
9e25f758
|
2016-08-13T11:42:21
|
|
remove DEFAULT_CA_FILE patch, since libtls handles this by default
|
|
b13529f7
|
2016-07-09T12:40:22
|
|
Revert "remove DEFAULT_CA_FILE patch, since libtls handles this by default"
This reverts commit 30adf9c06e8d3d7ac9e89f4b2b290567bcafa75c.
|
|
30adf9c0
|
2016-07-07T07:27:39
|
|
remove DEFAULT_CA_FILE patch, since libtls handles this by default
|
|
552817b7
|
2016-05-02T02:03:03
|
|
Land #192, fix fix ld warning "attempted multiple inclusion of file" on Solaris
|
|
02e1cc4d
|
2016-04-21T14:49:39
|
|
fix ld warning "attempted multiple inclusion of file" on Solaris
- To avoid ld warning on Solaris, use abs_top_builddir in Makefile.am
|
|
bda62f7f
|
2016-04-11T12:59:23
|
|
add cmake build options
- 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"
|
|
2510a5e6
|
2016-04-07T15:08:12
|
|
modify cmake to build nc
- 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
|
|
28aaab43
|
2015-12-07T08:14:51
|
|
allow optionally installing nc(1) with '--enable-nc'
|
|
1988b8f6
|
2015-12-07T07:55:05
|
|
fixup cert.pem path override for libtls, add for nc(1)
this also fixes the formatting of help for nc(1)
|
|
7109fb32
|
2015-11-23T02:06:03
|
|
ensure we don't pass a negative int to ctypes functions
Some implementations, e.g. cygwin, use a table lookup that can cast
a char to a negative array offset.
|
|
9afc4527
|
2015-10-11T16:45:25
|
|
nc: Use AM_CPPFLAGS, not CPPFLAGS in Makefile.am
CPPFLAGS should just be set by the user at configure time
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
|
|
a7f031ba
|
2015-10-01T07:40:26
|
|
add b64_ntop checking and fallback for nc(1)
|
|
c7ae7c0c
|
2015-09-13T19:15:34
|
|
fix a library paths, nc patch
|
|
eaa4c1cc
|
2015-09-13T19:06:29
|
|
a few more linux nc build tweaks
|
|
8c90be2a
|
2015-09-13T11:56:41
|
|
allow nc to build on linux and os x
|
|
02b7539c
|
2015-09-13T07:23:04
|
|
readd openssl.1, distribute nc.1
|
|
a787f964
|
2015-09-12T10:51:11
|
|
restrict nc to openbsd builds for now
|
|
dcbaa6b6
|
2015-09-12T10:15:00
|
|
correct nc compat path
|
|
a64c42a0
|
2015-09-12T09:50:44
|
|
add some backcompat in nc, don't install it
|
|
854f4f69
|
2015-09-12T07:48:06
|
|
add 'nc' to the distribution as an example of libtls client and server
|