From 43e17b8a33526238b60e691082a827a246e34fbe Mon Sep 17 00:00:00 2001 From: tb Date: Mon, 8 Jan 2024 08:26:38 +0000 Subject: [PATCH] Fix regress build since the reacharounds are fragile noted by anton --- regress/usr.sbin/rpki-client/Makefile.inc | 4 ++-- regress/usr.sbin/rpki-client/test-rrdp.c | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/regress/usr.sbin/rpki-client/Makefile.inc b/regress/usr.sbin/rpki-client/Makefile.inc index 950dddff318..d16f78cbc34 100644 --- a/regress/usr.sbin/rpki-client/Makefile.inc +++ b/regress/usr.sbin/rpki-client/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.35 2023/10/13 12:12:05 tb Exp $ +# $OpenBSD: Makefile.inc,v 1.36 2024/01/08 08:26:38 tb Exp $ .PATH: ${.CURDIR}/../../../../usr.sbin/rpki-client @@ -92,7 +92,7 @@ run-regress-test-tak: test-tak SRCS_test-rrdp+= test-rrdp.c rrdp_delta.c rrdp_notification.c cms.c \ rrdp_snapshot.c rrdp_util.c cert.c as.c mft.c io.c \ encoding.c ip.c validate.c crl.c x509.c \ - constraints-dummy.c rfc3779.c + constraints-dummy.c rfc3779.c print.c json.c LDADD_test-rrdp+= -lexpat ${LDADD} DPADD_test-rrdp+= ${LIBEXPAT} ${DPADD} run-regress-test-rrdp: test-rrdp diff --git a/regress/usr.sbin/rpki-client/test-rrdp.c b/regress/usr.sbin/rpki-client/test-rrdp.c index 1a0b07997ef..4f606d8ff02 100644 --- a/regress/usr.sbin/rpki-client/test-rrdp.c +++ b/regress/usr.sbin/rpki-client/test-rrdp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: test-rrdp.c,v 1.8 2023/06/24 07:07:36 claudio Exp $ */ +/* $OpenBSD: test-rrdp.c,v 1.9 2024/01/08 08:26:38 tb Exp $ */ /* * Copyright (c) 2020 Nils Fisher * Copyright (c) 2021 Claudio Jeker @@ -35,8 +35,9 @@ #include "extern.h" #include "rrdp.h" -int verbose; int filemode; +int outformats; +int verbose; #define REGRESS_NOTIFY_URI "https://rpki.example.com/notify.xml" -- 2.20.1