summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/rpki-client
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2020-07-05 18:31:29 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2020-07-05 18:31:29 +0000
commit8bb8e4f9fc1910bcce02cd3b3df8f22ee4df5947 (patch)
tree7a5536e785b43725c74e50af9de12dfbb95cc53b /regress/usr.sbin/rpki-client
parent8f55ee91c111fde33e3480c09ea21b6a2c72648d (diff)
Fix rpki-client regress test after -f removal.
ok job
Diffstat (limited to 'regress/usr.sbin/rpki-client')
-rw-r--r--regress/usr.sbin/rpki-client/test-mft.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/regress/usr.sbin/rpki-client/test-mft.c b/regress/usr.sbin/rpki-client/test-mft.c
index 9347234c17d..4149ff89ff2 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.4 2019/12/17 11:52:41 claudio Exp $ */
+/* $Id: test-mft.c,v 1.5 2020/07/05 18:31:28 tb Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -57,7 +57,7 @@ mft_print(const struct mft *p)
int
main(int argc, char *argv[])
{
- int c, i, verb = 0, force = 0;
+ int c, i, verb = 0;
struct mft *p;
X509 *xp = NULL;
@@ -65,11 +65,8 @@ main(int argc, char *argv[])
OpenSSL_add_all_ciphers();
OpenSSL_add_all_digests();
- while (-1 != (c = getopt(argc, argv, "fv")))
+ while (-1 != (c = getopt(argc, argv, "v")))
switch (c) {
- case 'f':
- force = 1;
- break;
case 'v':
verb++;
break;
@@ -84,7 +81,7 @@ main(int argc, char *argv[])
errx(1, "argument missing");
for (i = 0; i < argc; i++) {
- if ((p = mft_parse(&xp, argv[i], force)) == NULL)
+ if ((p = mft_parse(&xp, argv[i])) == NULL)
break;
if (verb)
mft_print(p);