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
..
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
Makefile bundle libtls 2023-08-23 17:38:49 +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
X509_LOOKUP_mem.c bundle libtls 2023-08-23 17:38:49 +00:00
arc4random.c bundle libtls 2023-08-23 17:38:49 +00:00
arc4random_buf.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 add a configure script and some compat 2021-01-21 11:57:46 +00:00
explicit_bzero.c more OpenBSD goodies 2021-01-21 15:37:02 +00:00
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 add a configure script and some compat 2021-01-21 11:57:46 +00:00
imsg.c tests and compat for imsg 2021-02-23 13:43:14 +01:00
libevent.c add check for libevent 2021-02-08 10:11:23 +00:00
libevent2.c improve libevent2 handling 2021-10-02 17:20:56 +00:00
libtls.c add a configure script and some compat 2021-01-21 11:57:46 +00:00
machine_endian.c add compat for endian (now required by imsg) 2023-07-02 09:14:44 +00:00
memmem.c add memmem compat 2022-10-31 22:53:16 +00:00
noop.c add a configure script and some compat 2021-01-21 11:57:46 +00:00
openssl.c adding openssl test 2021-01-25 15:06:59 +00:00
pr_set_name.c add compat for setproctitle 2021-02-04 13:42:35 +00:00
program_invocation_short_name.c add check for program_invocation_short_name 2021-02-11 09:12:40 +00:00
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 more OpenBSD goodies 2021-01-21 15:37:02 +00:00
setproctitle.c fix setproctitle detection on FreeBSD 2021-02-10 22:17:20 +00:00
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
strlcat.c add a configure script and some compat 2021-01-21 11:57:46 +00:00
strlcpy.c add a configure script and some compat 2021-01-21 11:57:46 +00:00
strtonum.c more OpenBSD goodies 2021-01-21 15:37:02 +00:00
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 add a configure script and some compat 2021-01-21 11:57:46 +00:00
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