From: tb Date: Fri, 16 Feb 2024 11:55:42 +0000 (+0000) Subject: fix whitespace X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5d23b0275781119432674959a6de37b21138989e;p=openbsd fix whitespace --- 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 * Copyright (c) 2021 Job Snijders @@ -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 * Copyright (c) 2019 Kristaps Dzonsons @@ -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 * Copyright (c) 2019 Kristaps Dzonsons @@ -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: "