summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2023-04-27 06:11:44 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2023-04-27 06:11:44 +0000
commit8eb8187ac1a385d94565c3ff15359fe69ffeec8a (patch)
tree042d5e3c49ffc48aa8a3f984f8d5f8b854fcd8bc /regress/usr.sbin
parent41118ce94bad9425d6eee03ee4160d69ffefd827 (diff)
Unbreak regress after yesterdays churn.
Friendly reminder from anton@
Diffstat (limited to 'regress/usr.sbin')
-rw-r--r--regress/usr.sbin/rpki-client/repo-dummy.c2
-rw-r--r--regress/usr.sbin/rpki-client/test-aspa.c8
-rw-r--r--regress/usr.sbin/rpki-client/test-cert.c8
-rw-r--r--regress/usr.sbin/rpki-client/test-gbr.c8
-rw-r--r--regress/usr.sbin/rpki-client/test-geofeed.c8
-rw-r--r--regress/usr.sbin/rpki-client/test-ip.c8
-rw-r--r--regress/usr.sbin/rpki-client/test-mft.c8
-rw-r--r--regress/usr.sbin/rpki-client/test-roa.c8
-rw-r--r--regress/usr.sbin/rpki-client/test-rrdp.c8
-rw-r--r--regress/usr.sbin/rpki-client/test-rsc.c8
-rw-r--r--regress/usr.sbin/rpki-client/test-tak.c8
-rw-r--r--regress/usr.sbin/rpki-client/test-tal.c8
12 files changed, 78 insertions, 12 deletions
diff --git a/regress/usr.sbin/rpki-client/repo-dummy.c b/regress/usr.sbin/rpki-client/repo-dummy.c
index 2147f6cd0ad..2ae5a66d6f1 100644
--- a/regress/usr.sbin/rpki-client/repo-dummy.c
+++ b/regress/usr.sbin/rpki-client/repo-dummy.c
@@ -6,7 +6,7 @@
#include "extern.h"
void
-repo_stat_inc(struct repo *repo, enum rtype type, enum stype subtype)
+repo_stat_inc(struct repo *repo, int tal, enum rtype type, enum stype subtype)
{
return;
}
diff --git a/regress/usr.sbin/rpki-client/test-aspa.c b/regress/usr.sbin/rpki-client/test-aspa.c
index aa02db5d379..9aef5462d55 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.2 2022/11/05 10:32:51 job Exp $ */
+/* $Id: test-aspa.c,v 1.3 2023/04/27 06:11:43 claudio Exp $ */
/*
* Copyright (c) 2022 Job Snijders <job@fastly.com>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -96,3 +96,9 @@ main(int argc, char *argv[])
printf("OK\n");
return 0;
}
+
+time_t
+get_current_time(void)
+{
+ return time(NULL);
+}
diff --git a/regress/usr.sbin/rpki-client/test-cert.c b/regress/usr.sbin/rpki-client/test-cert.c
index d06ddc0d20f..110565c95c2 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.20 2022/11/05 10:32:51 job Exp $ */
+/* $Id: test-cert.c,v 1.21 2023/04/27 06:11:43 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -125,3 +125,9 @@ main(int argc, char *argv[])
printf("OK\n");
return 0;
}
+
+time_t
+get_current_time(void)
+{
+ return time(NULL);
+}
diff --git a/regress/usr.sbin/rpki-client/test-gbr.c b/regress/usr.sbin/rpki-client/test-gbr.c
index d06b581a42c..02386278afc 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.12 2022/11/05 10:32:51 job Exp $ */
+/* $Id: test-gbr.c,v 1.13 2023/04/27 06:11:43 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -96,3 +96,9 @@ main(int argc, char *argv[])
printf("OK\n");
return 0;
}
+
+time_t
+get_current_time(void)
+{
+ return time(NULL);
+}
diff --git a/regress/usr.sbin/rpki-client/test-geofeed.c b/regress/usr.sbin/rpki-client/test-geofeed.c
index 54523f2e69c..aff4685e8e5 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.1 2022/11/26 12:34:31 tb Exp $ */
+/* $Id: test-geofeed.c,v 1.2 2023/04/27 06:11:43 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -96,3 +96,9 @@ main(int argc, char *argv[])
printf("OK\n");
return 0;
}
+
+time_t
+get_current_time(void)
+{
+ return time(NULL);
+}
diff --git a/regress/usr.sbin/rpki-client/test-ip.c b/regress/usr.sbin/rpki-client/test-ip.c
index d04451f1330..7fe22070e0b 100644
--- a/regress/usr.sbin/rpki-client/test-ip.c
+++ b/regress/usr.sbin/rpki-client/test-ip.c
@@ -1,4 +1,4 @@
-/* $Id: test-ip.c,v 1.6 2022/11/05 10:32:51 job Exp $ */
+/* $Id: test-ip.c,v 1.7 2023/04/27 06:11:43 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -128,3 +128,9 @@ main(int argc, char *argv[])
printf("OK\n");
return 0;
}
+
+time_t
+get_current_time(void)
+{
+ return time(NULL);
+}
diff --git a/regress/usr.sbin/rpki-client/test-mft.c b/regress/usr.sbin/rpki-client/test-mft.c
index 1d2543208de..8ceb2e2cd77 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.22 2022/08/26 06:32:03 tb Exp $ */
+/* $Id: test-mft.c,v 1.23 2023/04/27 06:11:43 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -97,3 +97,9 @@ main(int argc, char *argv[])
printf("OK\n");
return 0;
}
+
+time_t
+get_current_time(void)
+{
+ return time(NULL);
+}
diff --git a/regress/usr.sbin/rpki-client/test-roa.c b/regress/usr.sbin/rpki-client/test-roa.c
index 30d5994a228..a6927ac21ae 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.20 2022/11/05 10:32:51 job Exp $ */
+/* $Id: test-roa.c,v 1.21 2023/04/27 06:11:43 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -95,3 +95,9 @@ main(int argc, char *argv[])
printf("OK\n");
return 0;
}
+
+time_t
+get_current_time(void)
+{
+ return time(NULL);
+}
diff --git a/regress/usr.sbin/rpki-client/test-rrdp.c b/regress/usr.sbin/rpki-client/test-rrdp.c
index e8b681579ce..f269452bc29 100644
--- a/regress/usr.sbin/rpki-client/test-rrdp.c
+++ b/regress/usr.sbin/rpki-client/test-rrdp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: test-rrdp.c,v 1.3 2022/04/20 17:37:53 tb Exp $ */
+/* $OpenBSD: test-rrdp.c,v 1.4 2023/04/27 06:11:43 claudio Exp $ */
/*
* Copyright (c) 2020 Nils Fisher <nils_fisher@hotmail.com>
* Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org>
@@ -338,3 +338,9 @@ usage:
"-d | -n | -s\n", "test-rrdp");
exit(1);
}
+
+time_t
+get_current_time(void)
+{
+ return time(NULL);
+}
diff --git a/regress/usr.sbin/rpki-client/test-rsc.c b/regress/usr.sbin/rpki-client/test-rsc.c
index b90ca56bd3e..1bd61cd5c3b 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.5 2022/11/05 10:32:51 job Exp $ */
+/* $Id: test-rsc.c,v 1.6 2023/04/27 06:11:43 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -98,3 +98,9 @@ main(int argc, char *argv[])
printf("OK\n");
return 0;
}
+
+time_t
+get_current_time(void)
+{
+ return time(NULL);
+}
diff --git a/regress/usr.sbin/rpki-client/test-tak.c b/regress/usr.sbin/rpki-client/test-tak.c
index 71ac50f1bb8..c9229011273 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.2 2022/11/05 10:32:51 job Exp $ */
+/* $Id: test-tak.c,v 1.3 2023/04/27 06:11:43 claudio Exp $ */
/*
* Copyright (c) 2022 Job Snijders <job@fastly.com>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -96,3 +96,9 @@ main(int argc, char *argv[])
printf("OK\n");
return 0;
}
+
+time_t
+get_current_time(void)
+{
+ return time(NULL);
+}
diff --git a/regress/usr.sbin/rpki-client/test-tal.c b/regress/usr.sbin/rpki-client/test-tal.c
index 587c588ccf4..de59cf2a44a 100644
--- a/regress/usr.sbin/rpki-client/test-tal.c
+++ b/regress/usr.sbin/rpki-client/test-tal.c
@@ -1,4 +1,4 @@
-/* $Id: test-tal.c,v 1.9 2022/04/20 17:26:53 tb Exp $ */
+/* $Id: test-tal.c,v 1.10 2023/04/27 06:11:43 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -80,3 +80,9 @@ main(int argc, char *argv[])
printf("OK\n");
return 0;
}
+
+time_t
+get_current_time(void)
+{
+ return time(NULL);
+}