]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
non-substantive spelling fixes
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 14 Apr 2022 00:39:29 +0000 (17:39 -0700)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 14 Apr 2022 00:39:29 +0000 (17:39 -0700)
16 files changed:
Changelog
dname.c
dnssec_zone.c
doc/API-header.xml
doc/API.xml
examples/ldns-testns.1
examples/nsd-test/nsd-ldnsd.c
ldns/dane.h
ldns/dnssec_sign.h
ldns/parse.h
packaging/fedora/ldns.spec
pcat/pcat-diff.c
rdata.c
rr.c
rr_functions.c
zone.c

index 538ba2b739cc226356b39bc794835302ad5f5aca..c0c7c5f3c9be98360a2da03a62122000c150231b 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -55,7 +55,7 @@
          Thanks Felipe Gasper
        * PR #126: Link with libldns.la in Makefile.in.
          Thanks orbea
-       * PR #127: Addes option -Q to drill to give short answer.
+       * PR #127: Added option -Q to drill to give short answer.
          Thanks niknah
        * PR #133: Update m4 files for python modules.
          Thanks Petr Menšík
          Thanks William King
        * Use OpenSSL DANE functions for verification (unless explicitly
          disabled with --disable-dane-ta-usage).
-       * Bumb .so version
+       * Bump .so version
        * Include OPENPGPKEY RR type by default
        * rdata processing for SMIMEA RR type
        * Fix crash in displaying TLSA RR's.
        * bugfix #505: Manpage and usage output fixes (Thanks Tomas Hozza)
        * Adjust ldns_sha1() so that the input data is not modified (Thanks
          Marc Buijsman)
-       * Messages to stderr are now off by default and can be reenabled with
+       * Messages to stderr are now off by default and can be re-enabled with
          the --enable-stderr-msgs configure option.
 
 1.6.16 2012-11-13
        * --enable-gost : use the GOST algorithm (experimental).
        * Added some missing options to drill manpage
        * Some fixes to --without-ssl option
-       * Fixed quote parsing withing strings
+       * Fixed quote parsing within strings
        * Bitmask fix in EDNS handling
        * Fixed non-fqdn domain name completion for rdata field domain
          names of length 1
        * -r was killed in favor of -o <header bit mnemonic> which
          allows for a header bits setting (and maybe more in the
          future)
-       * DNSSEC is never automaticaly set, even when you query
+       * DNSSEC is never automatically set, even when you query
          for DNSKEY/RRSIG or DS.
        * Implement a crude RTT check, it now distinguishes between
          reachable and unreachable.
        * char *_when was removed from the ldns_pkt structure
 
 18 Oct 2005: 1.0.0: ldns-team
-       * Commited a patch from Håkan Olsson
+       * Committed a patch from Håkan Olsson
        * Added UPDATE support (Jakob Schlyter and Håkan Olsson)
        * License change: ldns is now BSD licensed
        * ldns now depends on SSL
 
 23 May 2005: 0.60: ldns-team
        * Removed config.h from the header installed files
-         (you're not supposed to include that in a libary)
+         (you're not supposed to include that in a library)
        * Further tweaking
          - DNSSEC signing/verification works
          - Assorted bug fixes and tweaks (memory management)
diff --git a/dname.c b/dname.c
index 17afe1d333d0c20b0f795e2955a59a5cd6ce766e..4f311ee29856bead027075c7613b045d8d3db378 100644 (file)
--- a/dname.c
+++ b/dname.c
@@ -3,7 +3,7 @@
  *
  * dname specific rdata implementations
  * A dname is a rdf structure with type LDNS_RDF_TYPE_DNAME
- * It is not a /real/ type! All function must therefor check
+ * It is not a /real/ type! All function must therefore check
  * for LDNS_RDF_TYPE_DNAME.
  *
  * a Net::DNS like library for C
index 3957225500c792b234d412978e35b36326d35ce2..7be6791e7f5db6a44074dcd9360b5066148f3541 100644 (file)
@@ -631,7 +631,7 @@ ldns_dnssec_zone_new_frm_fp_l(ldns_dnssec_zone** z, FILE* fp, const ldns_rdf* or
           nsec3_ents (where ent is e.n.t.; i.e. empty non terminal) will
           hold the NSEC3s that still didn't have a matching name in the
           zone tree, even after all names were read.  They can only match
-          after the zone is equiped with all the empty non terminals. */
+          after the zone is equipped with all the empty non terminals. */
        ldns_rbtree_t todo_nsec3_ents;
        ldns_rbnode_t *new_node;
        ldns_rr_list* todo_nsec3_rrsigs = ldns_rr_list_new();
@@ -705,7 +705,7 @@ ldns_dnssec_zone_new_frm_fp_l(ldns_dnssec_zone** z, FILE* fp, const ldns_rdf* or
                                        my_ttl = ldns_rr_ttl(cur_rr);
                                }
                        /* When ttl is implicit, try to adhere to the rules as
-                        * much as posssible. (also for compatibility with bind)
+                        * much as possible. (also for compatibility with bind)
                         * This was changed when fixing an issue with ZONEMD
                         * which hashes the TTL too.
                         */
index 937a9d7cc7519f007d61032a08bd1f34bea4b99c..eac42fc205caa0328ec95deaced74237067fde5b 100644 (file)
@@ -97,7 +97,7 @@ Further more it is to be expected that lDNS will depend on OpenSSL for
 its cryptography.
 </t>
 <t>
-As said, lDNS is modelled after Net::DNS, therefor its application API
+As said, lDNS is modelled after Net::DNS, therefore its application API
 looks very much like the one used for Net::DNS. Some modification are made
 of course, because not all functionality of Perl can be caught in C.
 </t>
index 3438b59493080782836d2914c95480fe66608585..3d873d88f49a81f4694fe69117b5d6bd9c18f6c0 100644 (file)
@@ -97,7 +97,7 @@ Further more it is to be expected that lDNS will depend on OpenSSL for
 its cryptography.
 </t>
 <t>
-As said, lDNS is modelled after Net::DNS, therefor its application API
+As said, lDNS is modelled after Net::DNS, therefore its application API
 looks very much like the one used for Net::DNS. Some modification are made
 of course, because not all functionality of Perl can be caught in C.
 </t>
index c8173e5d1a815da33de4ec00a9245f2fa7025c28..e21bcf08a902252e188c3fb2929ab108a844ee72 100644 (file)
@@ -1,7 +1,7 @@
 .TH ldns-testns 1 "14 Dec 2006"
 .SH NAME
 ldns-testns \- simple fake nameserver tool
-.SH SYNOPSYS
+.SH SYNOPSIS
 .B ldns-testns
 [
 .IR OPTION
@@ -11,7 +11,7 @@ ldns-testns \- simple fake nameserver tool
 .SH DESCRIPTION
 \fBldns-testns\fR can be used to provide answers to DNS queries for
 testing.  The answers are premade, and can be tailored to testing
-needs. The answers can be wildly invalid or unparseable.
+needs. The answers can be wildly invalid or unparsable.
 
 This program is a debugging aid. It is not efficient, especially
 with a long config file, but it can give any reply to any query.
index d728866a247e9ffae3b6df081eef3d918e2dd96e..938f0802c30f29f1c011b14ee6d1136998d0a4a7 100644 (file)
@@ -83,7 +83,7 @@ main(int argc, char **argv)
                                usage(stdout);
                                exit(EXIT_FAILURE);
                        } else {
-                               fprintf(stderr, "quiting after %d qs\n", (int)maxcount);
+                               fprintf(stderr, "quitting after %d qs\n", (int)maxcount);
                        }
                } else {
                        fprintf(stderr, "Use -Number for max count\n");
index 3bde546391ee18311ccd7599cd41c8ebd37d17d9..b5366e0e5ccdc198f7221c30122a99debbc464dc 100644 (file)
@@ -43,7 +43,7 @@ enum ldns_enum_tlsa_certificate_usage
        /** CA constraint */
        LDNS_TLSA_USAGE_PKIX_TA                         =   0,
        LDNS_TLSA_USAGE_CA_CONSTRAINT                   =   0,
-       /** Sevice certificate constraint */
+       /** Service certificate constraint */
        LDNS_TLSA_USAGE_PKIX_EE                         =   1,
        LDNS_TLSA_USAGE_SERVICE_CERTIFICATE_CONSTRAINT  =   1,
        /** Trust anchor assertion */
index cac47fbf84cbe3eb12f2771673b1996d3779b477..4523811f1aadbac8246eace6415c3429adbdf7ab 100644 (file)
@@ -113,7 +113,7 @@ ldns_dnssec_zone_mark_and_get_glue(
  * be taken into account separately.
  *
  * \param[in] zone the zone in which to mark the names
- * \return LDNS_STATUS_OK on succesful completion, an error code otherwise
+ * \return LDNS_STATUS_OK on successful completion, an error code otherwise
  */
 ldns_status
 ldns_dnssec_zone_mark_glue(ldns_dnssec_zone *zone);
index e98fb95be566b82e9bb44f220685b324c114d144..ba7edf5679d84eb25a8ad399f7319f0e3f22471e 100644 (file)
@@ -112,9 +112,9 @@ ssize_t ldns_bget_token(ldns_buffer *b, char *token, const char *delim, size_t l
  * after the keyword + k_del until we hit d_del
  * \param[in] f file pointer to read from
  * \param[in] keyword keyword to look for
- * \param[in] k_del keyword delimeter 
+ * \param[in] k_del keyword delimiter 
  * \param[out] data the data found 
- * \param[in] d_del the data delimeter
+ * \param[in] d_del the data delimiter
  * \param[in] data_limit maximum size the the data buffer
  * \return the number of character read
  */
@@ -125,9 +125,9 @@ ssize_t ldns_fget_keyword_data(FILE *f, const char *keyword, const char *k_del,
  * after the keyword + k_del until we hit d_del
  * \param[in] f file pointer to read from
  * \param[in] keyword keyword to look for
- * \param[in] k_del keyword delimeter 
+ * \param[in] k_del keyword delimiter 
  * \param[out] data the data found 
- * \param[in] d_del the data delimeter
+ * \param[in] d_del the data delimiter
  * \param[in] data_limit maximum size the the data buffer
  * \param[in] line_nr pointer to an integer containing the current line number (for
 debugging purposes)
@@ -140,9 +140,9 @@ ssize_t ldns_fget_keyword_data_l(FILE *f, const char *keyword, const char *k_del
  * after the keyword + k_del until we hit d_del
  * \param[in] b buffer pointer to read from
  * \param[in] keyword keyword to look for
- * \param[in] k_del keyword delimeter 
+ * \param[in] k_del keyword delimiter 
  * \param[out] data the data found 
- * \param[in] d_del the data delimeter
+ * \param[in] d_del the data delimiter
  * \param[in] data_limit maximum size the the data buffer
  * \return the number of character read
  */
index 6ae8759fe3f0c114596dfee6aa77e635da9768c7..9b02cfd26b1178f0285cc1f1cb789a5f0555a5fd 100644 (file)
@@ -23,7 +23,7 @@ BuildRequires:  python-devel, swig
 %endif\r
 \r
 %description\r
-ldns is a library with the aim to simplify DNS programing in C. All\r
+ldns is a library with the aim to simplify DNS programming in C. All\r
 lowlevel DNS/DNSSEC operations are supported. We also define a higher\r
 level API which allows a programmer to (for instance) create or sign\r
 packets.\r
index 127c5f8df657c34075f07a6b1ae53557e2b03297..4c57238e0f9c9b801ec37f1b9cd46c7c9a04845d 100644 (file)
@@ -498,7 +498,7 @@ compare_to_file(ldns_pkt *qp, ldns_pkt *pkt1, ldns_pkt *pkt2)
 
                /* first, try query match */
                
-               /* special case for unparseable queries */
+               /* special case for unparsable queries */
                if (!qp) {
                        if (strncmp(query_match, "BADPACKET\n", 11) == 0 ||
                            strncmp(query_match, "*\n", 3) == 0
@@ -664,7 +664,7 @@ compare_to_file(ldns_pkt *qp, ldns_pkt *pkt1, ldns_pkt *pkt2)
                /* ok the query matches, now look at both answers */
 
                /* special case if one packet is null (ie. one server
-                  answers and one doesnt) */
+                  answers and one doesn't) */
                if (same && (!pkt1 || !pkt2)) {
                        if (strncmp(answer_match, "NOANSWER\n", 10) == 0 || 
                            strncmp(answer_match, "*\n", 3) == 0
diff --git a/rdata.c b/rdata.c
index 4eebeafa541e91d74ed38266465a81cc48370fc3..3f899a217eb7f61b51f7dd9a426d0a1f93cdd56e 100644 (file)
--- a/rdata.c
+++ b/rdata.c
@@ -624,7 +624,7 @@ ldns_octet(char *word, size_t *length)
                         return LDNS_STATUS_DDD_OVERFLOW;
                     }
                 } else {
-                    /* an espaced character, like \<space> ? 
+                    /* an escaped character, like \<space> ? 
                     * remove the '\' keep the rest */
                     *p = *++s;
                     (*length)++;
diff --git a/rr.c b/rr.c
index 2f64c15dac73708114e6bce373afec23cb2f6950..eb24f3c9e79b1354192e6348bae3d8c342b2f006 100644 (file)
--- a/rr.c
+++ b/rr.c
@@ -1323,7 +1323,7 @@ ldns_rr_set_push_rr(ldns_rr_list *rr_list, ldns_rr *rr)
                        return false;
                }
                /* ok, still alive - check if the rr already
-                * exists - if so, dont' add it */
+                * exists - if so, don't add it */
                for(i = 0; i < rr_count; i++) {
                        if(ldns_rr_compare(
                                        ldns_rr_list_rr(rr_list, i), rr) == 0) {
index 8d72696b9c192ca3016621b183941d3c431ee554..b9b9eae5be72892ab6b77b866fae46555d4e9e3c 100644 (file)
@@ -24,7 +24,7 @@
  * return a specific rdf
  * \param[in] type type of RR
  * \param[in] rr   the rr itself
- * \param[in] pos  at which postion to get it
+ * \param[in] pos  at which position to get it
  * \return the rdf sought
  */
 static ldns_rdf *
@@ -41,7 +41,7 @@ ldns_rr_function(ldns_rr_type type, const ldns_rr *rr, size_t pos)
  * \param[in] type type of RR
  * \param[in] rr   the rr itself
  * \param[in] rdf  the rdf to set
- * \param[in] pos  at which postion to set it
+ * \param[in] pos  at which position to set it
  * \return true or false
  */
 static bool
diff --git a/zone.c b/zone.c
index a3d534e5bba1633977aef4743b9be77fba0273a5..9a5d4c4e9e12f0b7ee15eb71a5465d5abcd6971f 100644 (file)
--- a/zone.c
+++ b/zone.c
@@ -253,7 +253,7 @@ ldns_zone_new_frm_fp_l(ldns_zone **z, FILE *fp, const ldns_rdf *origin,
                                        my_ttl = ldns_rr_ttl(rr);
                                }
                        /* When ttl is implicit, try to adhere to the rules as
-                        * much as posssible. (also for compatibility with bind)
+                        * much as possible. (also for compatibility with bind)
                         * This was changed when fixing an issue with ZONEMD
                         * which hashes the TTL too.
                         */