-/* $OpenBSD: cert.c,v 1.125 2024/02/04 07:43:27 tb Exp $ */
+/* $OpenBSD: cert.c,v 1.126 2024/02/16 11:55:42 tb Exp $ */
/*
* Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2021 Job Snijders <job@openbsd.org>
goto out;
}
- switch(afi) {
+ switch (afi) {
case AFI_IPV4:
if (ipv4_seen++ > 0) {
warnx("%s: RFC 6487 section 4.8.10: "
-/* $OpenBSD: main.c,v 1.248 2024/02/03 14:30:47 job Exp $ */
+/* $OpenBSD: main.c,v 1.249 2024/02/16 11:55:42 tb Exp $ */
/*
* Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
get_current_time(void)
{
if (evaluation_time > X509_TIME_MIN)
- return (time_t) evaluation_time;
+ return (time_t)evaluation_time;
return time(NULL);
}
check_fs_size(int fd, const char *cachedir)
{
struct statvfs fs;
- const long long minsize = 500 * 1024 * 1024;
- const long long minnode = 300 * 1000;
+ const long long minsize = 500 * 1024 * 1024;
+ const long long minnode = 300 * 1000;
if (fstatvfs(fd, &fs) == -1)
err(1, "statfs %s", cachedir);
-/* $OpenBSD: roa.c,v 1.74 2024/02/13 22:44:21 job Exp $ */
+/* $OpenBSD: roa.c,v 1.75 2024/02/16 11:55:42 tb Exp $ */
/*
* Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
goto out;
}
- switch(afi) {
+ switch (afi) {
case AFI_IPV4:
if (ipv4_seen++ > 0) {
warnx("%s: RFC 6482bis section 4.3.2: "