From 1d98aeeac1b4fa796ff7cb5dddff4afcfb45e4b3 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Mon, 12 Jun 2023 14:56:39 +0000 Subject: Add content-encoding compression support (just gzip and deflate). This will allow servers to send compressed XML which saves around 50%. The uncompressed output is limited to MAX_CONTENTLEN bytes so the impact of decompression bombs is limited. With and OK job@ tb@ --- usr.sbin/rpki-client/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/rpki-client/Makefile') diff --git a/usr.sbin/rpki-client/Makefile b/usr.sbin/rpki-client/Makefile index 13a5a710cb8..1b5b3308eca 100644 --- a/usr.sbin/rpki-client/Makefile +++ b/usr.sbin/rpki-client/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.30 2023/04/27 07:57:25 claudio Exp $ +# $OpenBSD: Makefile,v 1.31 2023/06/12 14:56:38 claudio Exp $ PROG= rpki-client SRCS= as.c aspa.c cert.c cms.c crl.c encoding.c filemode.c gbr.c geofeed.c \ @@ -9,8 +9,8 @@ SRCS= as.c aspa.c cert.c cms.c crl.c encoding.c filemode.c gbr.c geofeed.c \ tal.c validate.c x509.c MAN= rpki-client.8 -LDADD+= -lexpat -ltls -lssl -lcrypto -lutil -DPADD+= ${LIBEXPAT} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO} ${LIBUTIL} +LDADD+= -lexpat -ltls -lssl -lcrypto -lutil -lz +DPADD+= ${LIBEXPAT} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} CFLAGS+= -Wall -I${.CURDIR} CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes -- cgit v1.2.3