summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2021-01-29 10:15:42 +0000
committerclaudio <claudio@openbsd.org>2021-01-29 10:15:42 +0000
commite217601897c724bbdb1924888bfa88088e366737 (patch)
treec5a6fd640c61fbdc4e01e7f3084c3fde667087b2
parentA while ago rpki-client was changed to validate the sha256 hashes of (diff)
downloadwireguard-openbsd-e217601897c724bbdb1924888bfa88088e366737.tar.xz
wireguard-openbsd-e217601897c724bbdb1924888bfa88088e366737.zip
Adjust regress test, the hash argument to the parse functions was removed.
-rw-r--r--regress/usr.sbin/rpki-client/test-cert.c4
-rw-r--r--regress/usr.sbin/rpki-client/test-roa.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/regress/usr.sbin/rpki-client/test-cert.c b/regress/usr.sbin/rpki-client/test-cert.c
index 1dc90a2d98c..4f9e1b116f5 100644
--- a/regress/usr.sbin/rpki-client/test-cert.c
+++ b/regress/usr.sbin/rpki-client/test-cert.c
@@ -1,4 +1,4 @@
-/* $Id: test-cert.c,v 1.6 2020/12/09 11:22:47 claudio Exp $ */
+/* $Id: test-cert.c,v 1.7 2021/01/29 10:15:42 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -145,7 +145,7 @@ main(int argc, char *argv[])
}
} else {
for (i = 0; i < argc; i++) {
- p = cert_parse(&xp, argv[i], NULL);
+ p = cert_parse(&xp, argv[i]);
if (p == NULL)
break;
if (verb)
diff --git a/regress/usr.sbin/rpki-client/test-roa.c b/regress/usr.sbin/rpki-client/test-roa.c
index 4e717a0f65f..507ad406401 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.7 2020/11/09 16:13:02 tb Exp $ */
+/* $Id: test-roa.c,v 1.8 2021/01/29 10:15:42 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -87,7 +87,7 @@ main(int argc, char *argv[])
errx(1, "argument missing");
for (i = 0; i < argc; i++) {
- if ((p = roa_parse(&xp, argv[i], NULL)) == NULL)
+ if ((p = roa_parse(&xp, argv[i])) == NULL)
break;
if (verb)
roa_print(p);