Fix regress build since the reacharounds are fragile
authortb <tb@openbsd.org>
Mon, 8 Jan 2024 08:26:38 +0000 (08:26 +0000)
committertb <tb@openbsd.org>
Mon, 8 Jan 2024 08:26:38 +0000 (08:26 +0000)
noted by anton

regress/usr.sbin/rpki-client/Makefile.inc
regress/usr.sbin/rpki-client/test-rrdp.c

index 950dddf..d16f78c 100644 (file)
@@ -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
index 1a0b079..4f606d8 100644 (file)
@@ -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"