diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-02-04 16:50:50 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-02-04 16:50:50 +0000 |
commit | 369898e4ec243b2e4ee9224b8b8ddcdc3fa13b79 (patch) | |
tree | 2ea4c99b24f28b03e841be5d46d86fcf589508c8 /usr.sbin | |
parent | c26e9e0f7e9e2ba6714778872448193ec1219801 (diff) |
More consistency in the return code docs.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rpki-client/cert.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/rpki-client/cert.c b/usr.sbin/rpki-client/cert.c index 186cb083da5..cd01b9a8573 100644 --- a/usr.sbin/rpki-client/cert.c +++ b/usr.sbin/rpki-client/cert.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cert.c,v 1.55 2022/02/04 16:50:01 tb Exp $ */ +/* $OpenBSD: cert.c,v 1.56 2022/02/04 16:50:49 tb Exp $ */ /* * Copyright (c) 2021 Job Snijders <job@openbsd.org> * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> @@ -62,7 +62,7 @@ extern ASN1_OBJECT *notify_oid; /* 1.3.6.1.5.5.7.48.13 (rpkiNotify) */ * two ranges abut each other. * This is warned against in section 2.2.3.6, but doesn't change the * semantics of the system. - * Return zero on failure (IP overlap) non-zero on success. + * Returns zero on failure (IP overlap) non-zero on success. */ static int append_ip(struct parse *p, const struct cert_ip *ip) @@ -104,7 +104,7 @@ append_as(struct parse *p, const struct cert_as *as) /* * Construct a RFC 3779 2.2.3.8 range by its bit string. - * Return zero on failure, non-zero on success. + * Returns zero on failure, non-zero on success. */ static int sbgp_addr(struct parse *p, @@ -681,7 +681,7 @@ out: /* * Parse RFC 3779 2.2.3.9 range of addresses. - * Return zero on failure, non-zero on success. + * Returns zero on failure, non-zero on success. */ static int sbgp_addr_range(struct parse *p, struct cert_ip *ip, |