summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-09-25 11:09:31 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-09-25 11:09:31 +0000
commit0041c127a79af9e8e5ddbb6f9b946fc506bf4c9c (patch)
tree4fc214bd19cd17672654540eef8f48f5d2c9602f
parent529ac36e710f08b798070e2fe9e400ed09c6cb1c (diff)
Adjust regress for *_parse change
-rw-r--r--regress/usr.sbin/rpki-client/test-aspa.c4
-rw-r--r--regress/usr.sbin/rpki-client/test-gbr.c4
-rw-r--r--regress/usr.sbin/rpki-client/test-geofeed.c4
-rw-r--r--regress/usr.sbin/rpki-client/test-mft.c4
-rw-r--r--regress/usr.sbin/rpki-client/test-roa.c4
-rw-r--r--regress/usr.sbin/rpki-client/test-rsc.c4
-rw-r--r--regress/usr.sbin/rpki-client/test-tak.c4
7 files changed, 14 insertions, 14 deletions
diff --git a/regress/usr.sbin/rpki-client/test-aspa.c b/regress/usr.sbin/rpki-client/test-aspa.c
index 88556a80367..e409950206c 100644
--- a/regress/usr.sbin/rpki-client/test-aspa.c
+++ b/regress/usr.sbin/rpki-client/test-aspa.c
@@ -1,4 +1,4 @@
-/* $Id: test-aspa.c,v 1.5 2023/05/30 12:14:48 claudio Exp $ */
+/* $Id: test-aspa.c,v 1.6 2023/09/25 11:09:30 tb Exp $ */
/*
* Copyright (c) 2022 Job Snijders <job@fastly.com>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -71,7 +71,7 @@ main(int argc, char *argv[])
for (i = 0; i < argc; i++) {
buf = load_file(argv[i], &len);
- if ((p = aspa_parse(&xp, argv[i], buf, len)) == NULL) {
+ if ((p = aspa_parse(&xp, argv[i], -1, buf, len)) == NULL) {
free(buf);
break;
}
diff --git a/regress/usr.sbin/rpki-client/test-gbr.c b/regress/usr.sbin/rpki-client/test-gbr.c
index be76feed86b..3c3c68b5089 100644
--- a/regress/usr.sbin/rpki-client/test-gbr.c
+++ b/regress/usr.sbin/rpki-client/test-gbr.c
@@ -1,4 +1,4 @@
-/* $Id: test-gbr.c,v 1.15 2023/05/30 12:14:48 claudio Exp $ */
+/* $Id: test-gbr.c,v 1.16 2023/09/25 11:09:30 tb Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -71,7 +71,7 @@ main(int argc, char *argv[])
for (i = 0; i < argc; i++) {
buf = load_file(argv[i], &len);
- if ((p = gbr_parse(&xp, argv[i], buf, len)) == NULL) {
+ if ((p = gbr_parse(&xp, argv[i], -1, buf, len)) == NULL) {
free(buf);
break;
}
diff --git a/regress/usr.sbin/rpki-client/test-geofeed.c b/regress/usr.sbin/rpki-client/test-geofeed.c
index 9a17c340c85..4a9efd019aa 100644
--- a/regress/usr.sbin/rpki-client/test-geofeed.c
+++ b/regress/usr.sbin/rpki-client/test-geofeed.c
@@ -1,4 +1,4 @@
-/* $Id: test-geofeed.c,v 1.4 2023/05/30 12:14:48 claudio Exp $ */
+/* $Id: test-geofeed.c,v 1.5 2023/09/25 11:09:30 tb Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -71,7 +71,7 @@ main(int argc, char *argv[])
for (i = 0; i < argc; i++) {
buf = load_file(argv[i], &len);
- if ((p = geofeed_parse(&xp, argv[i], buf, len)) == NULL) {
+ if ((p = geofeed_parse(&xp, argv[i], -1, buf, len)) == NULL) {
free(buf);
break;
}
diff --git a/regress/usr.sbin/rpki-client/test-mft.c b/regress/usr.sbin/rpki-client/test-mft.c
index a2737b26657..e06c0a34718 100644
--- a/regress/usr.sbin/rpki-client/test-mft.c
+++ b/regress/usr.sbin/rpki-client/test-mft.c
@@ -1,4 +1,4 @@
-/* $Id: test-mft.c,v 1.26 2023/06/20 12:52:32 job Exp $ */
+/* $Id: test-mft.c,v 1.27 2023/09/25 11:09:30 tb Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -73,7 +73,7 @@ main(int argc, char *argv[])
for (i = 0; i < argc; i++) {
buf = load_file(argv[i], &len);
- if ((p = mft_parse(&xp, argv[i], buf, len)) == NULL) {
+ if ((p = mft_parse(&xp, argv[i], -1, buf, len)) == NULL) {
free(buf);
break;
}
diff --git a/regress/usr.sbin/rpki-client/test-roa.c b/regress/usr.sbin/rpki-client/test-roa.c
index 1ca25adf341..0661ebc511d 100644
--- a/regress/usr.sbin/rpki-client/test-roa.c
+++ b/regress/usr.sbin/rpki-client/test-roa.c
@@ -1,4 +1,4 @@
-/* $Id: test-roa.c,v 1.23 2023/05/30 12:14:48 claudio Exp $ */
+/* $Id: test-roa.c,v 1.24 2023/09/25 11:09:30 tb Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -70,7 +70,7 @@ main(int argc, char *argv[])
for (i = 0; i < argc; i++) {
buf = load_file(argv[i], &len);
- if ((p = roa_parse(&xp, argv[i], buf, len)) == NULL) {
+ if ((p = roa_parse(&xp, argv[i], -1, buf, len)) == NULL) {
free(buf);
break;
}
diff --git a/regress/usr.sbin/rpki-client/test-rsc.c b/regress/usr.sbin/rpki-client/test-rsc.c
index 77c6b004da0..cf90e8fff18 100644
--- a/regress/usr.sbin/rpki-client/test-rsc.c
+++ b/regress/usr.sbin/rpki-client/test-rsc.c
@@ -1,4 +1,4 @@
-/* $Id: test-rsc.c,v 1.8 2023/05/30 12:14:48 claudio Exp $ */
+/* $Id: test-rsc.c,v 1.9 2023/09/25 11:09:30 tb Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -73,7 +73,7 @@ main(int argc, char *argv[])
for (i = 0; i < argc; i++) {
buf = load_file(argv[i], &len);
- if ((p = rsc_parse(&xp, argv[i], buf, len)) == NULL) {
+ if ((p = rsc_parse(&xp, argv[i], -1, buf, len)) == NULL) {
free(buf);
break;
}
diff --git a/regress/usr.sbin/rpki-client/test-tak.c b/regress/usr.sbin/rpki-client/test-tak.c
index 87d2b4474ea..30bc9e91be5 100644
--- a/regress/usr.sbin/rpki-client/test-tak.c
+++ b/regress/usr.sbin/rpki-client/test-tak.c
@@ -1,4 +1,4 @@
-/* $Id: test-tak.c,v 1.5 2023/05/30 12:14:48 claudio Exp $ */
+/* $Id: test-tak.c,v 1.6 2023/09/25 11:09:30 tb Exp $ */
/*
* Copyright (c) 2022 Job Snijders <job@fastly.com>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -71,7 +71,7 @@ main(int argc, char *argv[])
for (i = 0; i < argc; i++) {
buf = load_file(argv[i], &len);
- if ((p = tak_parse(&xp, argv[i], buf, len)) == NULL) {
+ if ((p = tak_parse(&xp, argv[i], -1, buf, len)) == NULL) {
free(buf);
break;
}