gmid/have
Omar Polo f9ab77a898 bundle libtls
gmid (like all other daemons that want to do privsep crypto) has a
very close relationship with libtls and need to stay in sync with
it.

OpenBSD' libtls was recently changed to use OpenSSL' EC_KEY_METHOD
instead of the older ECDSA_METHOD, on the gmid side we have to do
the same otherwise failures happens at runtime.  In a similar manner,
privsep crypto is silently broken in the current libretls (next
version should fix it.)

The proper solution would be to complete the signer APIs so that
applications don't need to dive into the library' internals, but
that's a mid-term goal, for the immediate bundling the 'little'
libtls is the lesser evil.

The configure script has gained a new (undocumented for the time
being) flag `--with-libtls=bundled|system' to control which libtls
to use.  It defaults to `bundled' except for OpenBSD where it uses
the `system' one.  Note that OpenBSD versions before 7.3 (inclusive)
ought to use --with-libtls=bundled too since they still do ECDSA_METHOD.
2023-08-23 17:38:49 +00:00
..
arc4random_buf.c bundle libtls 2023-08-23 17:38:49 +00:00
arc4random.c bundle libtls 2023-08-23 17:38:49 +00:00
ASN1_time_parse.c bundle libtls 2023-08-23 17:38:49 +00:00
ASN1_time_tm_cmp.c bundle libtls 2023-08-23 17:38:49 +00:00
endian_h.c add compat for endian (now required by imsg) 2023-07-02 09:14:44 +00:00
err.c
explicit_bzero.c
freezero.c tests and compat for imsg 2021-02-23 13:43:14 +01:00
getdtablecount.c tests and compat for imsg 2021-02-23 13:43:14 +01:00
getdtablesize.c tests and compat for imsg 2021-02-23 13:43:14 +01:00
getentropy.c bundle libtls 2023-08-23 17:38:49 +00:00
getprogname.c
imsg.c tests and compat for imsg 2021-02-23 13:43:14 +01:00
libevent2.c improve libevent2 handling 2021-10-02 17:20:56 +00:00
libevent.c
libtls.c
machine_endian.c add compat for endian (now required by imsg) 2023-07-02 09:14:44 +00:00
Makefile bundle libtls 2023-08-23 17:38:49 +00:00
memmem.c add memmem compat 2022-10-31 22:53:16 +00:00
noop.c
openssl.c
pr_set_name.c
program_invocation_short_name.c
queue_h.c check if sys/queue.h provides TAILQ_FOREACH_SAFE 2021-03-31 16:52:07 +00:00
reallocarray.c add compat for reallocarray 2021-04-25 12:50:19 +00:00
recallocarray.c
setproctitle.c
setresgid.c add tests and compat for setresuid and setresgid 2022-12-02 11:53:35 +00:00
setresuid.c add tests and compat for setresuid and setresgid 2022-12-02 11:53:35 +00:00
SSL_CTX_load_verify_mem.c bundle libtls 2023-08-23 17:38:49 +00:00
SSL_CTX_use_certificate_chain_mem.c bundle libtls 2023-08-23 17:38:49 +00:00
strlcat.c
strlcpy.c
strtonum.c
sys_endian_h.c add compat for endian (now required by imsg) 2023-07-02 09:14:44 +00:00
timingsafe_memcmp.c bundle libtls 2023-08-23 17:38:49 +00:00
tree_h.c add compat for sys/tree.h 2021-10-07 11:36:25 +00:00
vasprintf.c
vis.c address the strnvis(3) portability fiasco 2023-08-07 15:39:57 +00:00
wait_any.c configure: look for WAIT_ANY 2023-06-08 19:46:06 +00:00
X509_LOOKUP_mem.c bundle libtls 2023-08-23 17:38:49 +00:00