diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-02-16 11:55:43 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-02-16 11:55:43 +0000 |
commit | a5704b5bcbb5795f548e26f7659b1e723316e05a (patch) | |
tree | 1955ae66d4b894cf56b9fbd1bdb6c1e17880e67f /usr.sbin | |
parent | 883b460aa2b7a9eb7b70e3688d944d54f4d3ec29 (diff) |
fix whitespace
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rpki-client/cert.c | 4 | ||||
-rw-r--r-- | usr.sbin/rpki-client/main.c | 8 | ||||
-rw-r--r-- | usr.sbin/rpki-client/roa.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/rpki-client/cert.c b/usr.sbin/rpki-client/cert.c index 14bed46ee61..f9d6037d2c7 100644 --- a/usr.sbin/rpki-client/cert.c +++ b/usr.sbin/rpki-client/cert.c @@ -1,4 +1,4 @@ -/* $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> @@ -409,7 +409,7 @@ sbgp_parse_ipaddrblk(const char *fn, const IPAddrBlocks *addrblk, goto out; } - switch(afi) { + switch (afi) { case AFI_IPV4: if (ipv4_seen++ > 0) { warnx("%s: RFC 6487 section 4.8.10: " diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c index 94ddc3d1c57..67eea26e45b 100644 --- a/usr.sbin/rpki-client/main.c +++ b/usr.sbin/rpki-client/main.c @@ -1,4 +1,4 @@ -/* $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> @@ -130,7 +130,7 @@ time_t get_current_time(void) { if (evaluation_time > X509_TIME_MIN) - return (time_t) evaluation_time; + return (time_t)evaluation_time; return time(NULL); } @@ -865,8 +865,8 @@ static void 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); diff --git a/usr.sbin/rpki-client/roa.c b/usr.sbin/rpki-client/roa.c index 227b642f17d..ccff67a980c 100644 --- a/usr.sbin/rpki-client/roa.c +++ b/usr.sbin/rpki-client/roa.c @@ -1,4 +1,4 @@ -/* $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> @@ -157,7 +157,7 @@ roa_parse_econtent(const unsigned char *d, size_t dsz, struct parse *p) goto out; } - switch(afi) { + switch (afi) { case AFI_IPV4: if (ipv4_seen++ > 0) { warnx("%s: RFC 6482bis section 4.3.2: " |