diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2022-12-28 21:30:20 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2022-12-28 21:30:20 +0000 |
commit | 30c6e2bff10bcc21f60c21eb9d29068c6790aed4 (patch) | |
tree | 160b7cd24896186ded48d98dd67e701b7f1c7ff2 /usr.sbin/rpki-client | |
parent | 6d982a342f98d6530a0f71d5f67313d5f2a07382 (diff) |
spelling fixes; from paul tagliamonte
any parts of his diff not taken are noted on tech
Diffstat (limited to 'usr.sbin/rpki-client')
-rw-r--r-- | usr.sbin/rpki-client/cms.c | 4 | ||||
-rw-r--r-- | usr.sbin/rpki-client/extern.h | 6 | ||||
-rw-r--r-- | usr.sbin/rpki-client/repo.c | 12 | ||||
-rw-r--r-- | usr.sbin/rpki-client/rsync.c | 4 |
4 files changed, 13 insertions, 13 deletions
diff --git a/usr.sbin/rpki-client/cms.c b/usr.sbin/rpki-client/cms.c index 795ebf7d412..1b2e6998885 100644 --- a/usr.sbin/rpki-client/cms.c +++ b/usr.sbin/rpki-client/cms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cms.c,v 1.25 2022/11/29 20:41:32 job Exp $ */ +/* $OpenBSD: cms.c,v 1.26 2022/12/28 21:30:18 jmc Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -95,7 +95,7 @@ cms_parse_validate_internal(X509 **xp, const char *fn, const unsigned char *der, } /* - * The CMS is self-signed with a signing certifiate. + * The CMS is self-signed with a signing certificate. * Verify that the self-signage is correct. */ if (!CMS_verify(cms, NULL, NULL, bio, NULL, diff --git a/usr.sbin/rpki-client/extern.h b/usr.sbin/rpki-client/extern.h index d6c3b93de79..6bd5632fa3c 100644 --- a/usr.sbin/rpki-client/extern.h +++ b/usr.sbin/rpki-client/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.164 2022/12/15 12:02:29 claudio Exp $ */ +/* $OpenBSD: extern.h,v 1.165 2022/12/28 21:30:18 jmc Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -352,7 +352,7 @@ struct aspa { /* * A Validated ASPA Payload (VAP) tree element. - * To ease transformation, this struct mimicks ASPA RTR PDU structure. + * To ease transformation, this struct mimics ASPA RTR PDU structure. */ struct vap { RB_ENTRY(vap) entry; @@ -490,7 +490,7 @@ struct entity { unsigned int repoid; /* repository identifier */ int talid; /* tal identifier */ enum rtype type; /* type of entity (not RTYPE_EOF) */ - enum location location; /* which directroy the file lives in */ + enum location location; /* which directory the file lives in */ }; TAILQ_HEAD(entityq, entity); diff --git a/usr.sbin/rpki-client/repo.c b/usr.sbin/rpki-client/repo.c index f4a21430f34..059fbfceff6 100644 --- a/usr.sbin/rpki-client/repo.c +++ b/usr.sbin/rpki-client/repo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: repo.c,v 1.40 2022/12/15 12:02:29 claudio Exp $ */ +/* $OpenBSD: repo.c,v 1.41 2022/12/28 21:30:18 jmc Exp $ */ /* * Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org> * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> @@ -684,7 +684,7 @@ rrdp_save_state(unsigned int id, struct rrdp_session *state) rr = rrdp_find(id); if (rr == NULL) - errx(1, "non-existant rrdp repo %u", id); + errx(1, "non-existent rrdp repo %u", id); file = rrdp_state_filename(rr, 0); temp = rrdp_state_filename(rr, 1); @@ -780,7 +780,7 @@ rrdp_clear(unsigned int id) rr = rrdp_find(id); if (rr == NULL) - errx(1, "non-existant rrdp repo %u", id); + errx(1, "non-existent rrdp repo %u", id); /* remove rrdp repository contents */ remove_contents(rr->basedir); @@ -804,7 +804,7 @@ rrdp_handle_file(unsigned int id, enum publish_type pt, char *uri, rr = rrdp_find(id); if (rr == NULL) - errx(1, "non-existant rrdp repo %u", id); + errx(1, "non-existent rrdp repo %u", id); if (rr->state == REPO_FAILED) return -1; @@ -923,7 +923,7 @@ rsync_finish(unsigned int id, int ok) } /* - * RRDP sync finshed, either with or without success. + * RRDP sync finished, either with or without success. */ void rrdp_finish(unsigned int id, int ok) @@ -967,7 +967,7 @@ http_finish(unsigned int id, enum http_result res, const char *last_mod) tr = ta_find(id); if (tr == NULL) { - /* not a TA fetch therefor RRDP */ + /* not a TA fetch therefore RRDP */ rrdp_http_done(id, res, last_mod); return; } diff --git a/usr.sbin/rpki-client/rsync.c b/usr.sbin/rpki-client/rsync.c index ce1549a27d6..f1a4c181db9 100644 --- a/usr.sbin/rpki-client/rsync.c +++ b/usr.sbin/rpki-client/rsync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rsync.c,v 1.45 2022/11/29 20:26:22 job Exp $ */ +/* $OpenBSD: rsync.c,v 1.46 2022/12/28 21:30:18 jmc Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -55,7 +55,7 @@ static TAILQ_HEAD(, rsync) states = TAILQ_HEAD_INITIALIZER(states); * Return the base of a rsync URI (rsync://hostname/module). The * caRepository provided by the RIR CAs point deeper than they should * which would result in many rsync calls for almost every subdirectory. - * This is inefficent so instead crop the URI to a common base. + * This is inefficient so instead crop the URI to a common base. * The returned string needs to be freed by the caller. */ char * |