diff options
author | Omar Polo <op@omarpolo.com> | 2023-08-23 17:38:49 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-08-23 17:38:49 +0000 |
commit | f9ab77a898ec008a445b3842afc21bb4eac60657 (patch) | |
tree | cda8d17e07830f7d299a59901c2f8211353f094f /Makefile | |
parent | 9019e55e7ef1369c37f5a7d4c7b0e441d55d6b44 (diff) |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -36,11 +36,11 @@ GEMEXP_SRCS = ge.c config.c crypto.c dirs.c fcgi.c iri.c log.c mime.c \ GEMEXP_OBJS = ${GEMEXP_SRCS:.c=.o} ${COBJS} -GG_SRCS = gg.c iri.c utf8.c +GG_SRCS = gg.c iri.c log.c utf8.c GG_OBJS = ${GG_SRCS:.c=.o} ${COBJS} -TITAN_SRCS = titan.c iri.c utf8.c +TITAN_SRCS = titan.c iri.c log.c utf8.c TITAN_OBJS = ${TITAN_SRCS:.c=.o} ${COBJS} SRCS = gmid.h log.h parse.y proc.h \ @@ -60,7 +60,9 @@ config.mk config.h: configure include config.mk clean: - rm -f *.[do] compat/*.[do] y.tab.c y.tab.h y.output gmid gemexp gg + rm -f gmid gemexp gg + rm -f *.[do] compat/*.[do] compat/libtls/*.[do] + rm -f y.tab.c y.tab.h y.output rm -f compile_flags.txt ${MAKE} -C regress clean |