summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-01-08 08:26:39 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-01-08 08:26:39 +0000
commite8fbc378996b2073e8afa3ab5cc4f9a81ad306ab (patch)
tree0055c6d001fe75a8cab5c5e6d92acf32fa0bf3c5 /regress/usr.sbin
parent283427ba7addc3acd61be22b152371aa1850d372 (diff)
Fix regress build since the reacharounds are fragile
noted by anton
Diffstat (limited to 'regress/usr.sbin')
-rw-r--r--regress/usr.sbin/rpki-client/Makefile.inc4
-rw-r--r--regress/usr.sbin/rpki-client/test-rrdp.c5
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 <nils_fisher@hotmail.com>
* Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org>
@@ -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"