Adjust regress test, the hash argument to the parse functions was removed.
authorclaudio <claudio@openbsd.org>
Fri, 29 Jan 2021 10:15:42 +0000 (10:15 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 29 Jan 2021 10:15:42 +0000 (10:15 +0000)
regress/usr.sbin/rpki-client/test-cert.c
regress/usr.sbin/rpki-client/test-roa.c

index 1dc90a2..4f9e1b1 100644 (file)
@@ -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)
index 4e717a0..507ad40 100644 (file)
@@ -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);