From b16633ffc4de30fd231ab32fb65cf2850055f4d8 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 13 Jun 2021 17:33:04 -0400 Subject: [PATCH] spelling: expiration Signed-off-by: Josh Soref --- contrib/python/ldns_key.i | 2 +- contrib/python/ldns_rr.i | 4 ++-- examples/ldns-rrsig.1 | 2 +- ldns/keys.h | 2 +- ldns/rr_functions.h | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/contrib/python/ldns_key.i b/contrib/python/ldns_key.i index f95b030f..57775f2c 100644 --- a/contrib/python/ldns_key.i +++ b/contrib/python/ldns_key.i @@ -204,7 +204,7 @@ This class can contains all types of keys that are used in DNSSEC. Mostly used t def expiration(self): """return the key's expiration date - :returns: (uint32_t) the experiration date + :returns: (uint32_t) the expiration date """ return _ldns.ldns_key_expiration(self) #parameters: const ldns_key *, diff --git a/contrib/python/ldns_rr.i b/contrib/python/ldns_rr.i index cd2c3c1f..42406d6c 100644 --- a/contrib/python/ldns_rr.i +++ b/contrib/python/ldns_rr.i @@ -1424,9 +1424,9 @@ to create :class:`ldns_rr` instances. def rrsig_set_expiration(self, f): """ - Sets the expireation date of a LDNS_RR_TYPE_RRSIG rr. + Sets the expiration date of a LDNS_RR_TYPE_RRSIG rr. - :param f: The expireation date to set. + :param f: The expiration date to set. :type f: :class:`ldns_rdf` :throws TypeError: when `f` of non-:class:`ldns_rdf` type. :return: (bool) True on success, False otherwise. diff --git a/examples/ldns-rrsig.1 b/examples/ldns-rrsig.1 index 3aee863e..d64b9f3b 100644 --- a/examples/ldns-rrsig.1 +++ b/examples/ldns-rrsig.1 @@ -13,7 +13,7 @@ readable form \fBldns-rrsig\fR is used to print the expiration and inception date of a RRSIG. The first argument is a domain name. \fBldns-rrsig\fR will query the authoritative servers for that domain to get a list of RRSIGs. -It will then print out the inception and experiration dates for the RRSIG +It will then print out the inception and expiration dates for the RRSIG covering the SOA record. .PP If the second argument \fBtype\fR is given the RRSIG covering that type will be shown. diff --git a/ldns/keys.h b/ldns/keys.h index 826f876f..81a0b46e 100644 --- a/ldns/keys.h +++ b/ldns/keys.h @@ -531,7 +531,7 @@ uint32_t ldns_key_inception(const ldns_key *k); /** * return the key's expiration date * \param[in] k the key - * \return the experiration date + * \return the expiration date */ uint32_t ldns_key_expiration(const ldns_key *k); /** diff --git a/ldns/rr_functions.h b/ldns/rr_functions.h index 09a28dd7..5a84d40b 100644 --- a/ldns/rr_functions.h +++ b/ldns/rr_functions.h @@ -121,9 +121,9 @@ bool ldns_rr_rrsig_set_origttl(ldns_rr *r, ldns_rdf *f); */ ldns_rdf* ldns_rr_rrsig_expiration(const ldns_rr *r); /** - * sets the expireation date of a LDNS_RR_TYPE_RRSIG rr + * sets the expiration date of a LDNS_RR_TYPE_RRSIG rr * \param[in] r the rr to use - * \param[in] f the expireation date to set + * \param[in] f the expiration date to set * \return true on success, false otherwise */ bool ldns_rr_rrsig_set_expiration(ldns_rr *r, ldns_rdf *f); -- 2.47.3