From: tb Date: Mon, 25 Sep 2023 11:09:30 +0000 (+0000) Subject: Adjust regress for *_parse change X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8e9035a644db79e25b5c6d0a41c06502c8ab0e40;p=openbsd Adjust regress for *_parse change --- 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 * Copyright (c) 2019 Kristaps Dzonsons @@ -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 * @@ -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 * @@ -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 * @@ -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 * @@ -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 * @@ -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 * Copyright (c) 2019 Kristaps Dzonsons @@ -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; }