From e217601897c724bbdb1924888bfa88088e366737 Mon Sep 17 00:00:00 2001 From: claudio Date: Fri, 29 Jan 2021 10:15:42 +0000 Subject: [PATCH] Adjust regress test, the hash argument to the parse functions was removed. --- regress/usr.sbin/rpki-client/test-cert.c | 4 ++-- regress/usr.sbin/rpki-client/test-roa.c | 4 ++-- 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 * @@ -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 * @@ -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); -- 2.20.1