]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Spelling fixes from Andreas Schulze
authorWillem Toorop <willem@nlnetlabs.nl>
Fri, 13 Feb 2015 12:37:30 +0000 (13:37 +0100)
committerWillem Toorop <willem@nlnetlabs.nl>
Fri, 13 Feb 2015 12:37:30 +0000 (13:37 +0100)
18 files changed:
Changelog
contrib/python/Makefile
contrib/python/ldns_key.i
dane.c
doc/doxyparse.pl
drill/drill.1.in
examples/ldns-dane.c
examples/ldns-gen-zone.c
examples/ldns-keyfetcher.c
higher.c
ldns/buffer.h
ldns/dane.h
ldns/dname.h
ldns/host2str.h
ldns/keys.h
ldns/net.h.in
ldns/rr.h
ldns/util.h.in

index 4713891539931403613aadb8d3547f1cd85808a1..8d1a573dfd90f66241cb56239ae7b990fb6819b7 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -50,6 +50,7 @@ TBD
          Thanks Jakop Petsovits
        * bugfix: ldns-dane manpage correction
          Thanks Erwin Lansing
+       * Spelling fixes.  Thanks Andreas Schulze
 
 1.6.17 2014-01-10
        * Fix ldns_dnssec_zone_new_frm_fp_l to allow the last parsed line of a
index debc7d0486d2cd186804ac35f6de71a99dcb5f6d..172ab20c1a4e603ce2afa0f222a51b5030d71c41 100644 (file)
@@ -34,7 +34,7 @@
 help:
        @echo "Please use \`make <target>' where <target> is one of"
        @echo "  testenv   to make test environment and run bash "
-       @echo "            usefull in case you don't want to install ldns but want to test examples"
+       @echo "            useful in case you don't want to install ldns but want to test examples"
        @echo "  doc       to make documentation"
        @echo "  clean     clean all"
 
index 26a9b0f57fa4d0798c0dc2f01200957c7177e7d1..93f09c65f64fef2476652aaebaae52b458dd6ce7 100644 (file)
@@ -116,7 +116,7 @@ This class can contains all types of keys that are used in DNSSEC. Mostly used t
             #retvals: ldns_rr *
 
         def print_to_file(self, file):
-            """print a private key to the file ouput
+            """print a private key to the file output
                
                :param file: output file pointer
             """
diff --git a/dane.c b/dane.c
index 675dfa8bf33599d4d4cfff0be726978a295c4eb5..5e35c04fc7d40fce742682efa1be033754b8d416 100644 (file)
--- a/dane.c
+++ b/dane.c
@@ -356,7 +356,7 @@ ldns_dane_select_certificate(X509** selected_cert,
        assert(selected_cert != NULL);
        assert(cert != NULL);
 
-       /* With PKIX validation explicitely turned off (pkix_validation_store
+       /* With PKIX validation explicitly turned off (pkix_validation_store
         *  == NULL), treat the "CA constraint" and "Service certificate
         * constraint" the same as "Trust anchor assertion" and "Domain issued
         * certificate" respectively.
index 1c2a8182c91fbd0b153338926dd4455722689f97..66c846ae56792da8907cbe40dc1d8e71b7586948 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env perl
 
-# Doxygen is usefull for html documentation, but sucks 
+# Doxygen is useful for html documentation, but sucks
 # in making manual pages. Still tool also parses the .h
 # files with the doxygen documentation and creates
 # the man page we want
@@ -53,7 +53,7 @@ MERCHANTABILITY or
 FITNESS FOR A PARTICULAR PURPOSE.
 ";
 my $MAN_FOOTER = ".SH REMARKS
-This manpage was automaticly generated from the ldns source code by
+This manpage was automatically generated from the ldns source code by
 use of Doxygen and some perl.
 ";
 
index ac98dab15c803cb25863f4641552f44b7f119883..76d60f1ad6b123cb15e725ee35b7ff222f27b390 100644 (file)
@@ -70,7 +70,7 @@ record also print the DS record.
 .TP
 \fB\-D
 Enable DNSSEC in the query. When querying for DNSSEC types (DNSKEY, RRSIG,
-DS and NSEC) this is \fInot\fR automaticly enabled.
+DS and NSEC) this is \fInot\fR automatically enabled.
 
 .TP
 \fB\-T
index 8d8c2749ea6ac171a05371bc178a6fe063fd98d3..9b1f131219aa27b7f877d7951ff397c5cb48f61f 100644 (file)
@@ -621,7 +621,7 @@ dane_query(ldns_rr_list** rrs, ldns_resolver* r,
        }
        *rrs = ldns_pkt_rr_list_by_type(p, t, LDNS_SECTION_ANSWER);
 
-       if (! ldns_resolver_dnssec(r)) { /* DNSSEC explicitely disabled,
+       if (! ldns_resolver_dnssec(r)) { /* DNSSEC explicitly disabled,
                                            anything goes */
                ldns_pkt_free(p);
                return LDNS_STATUS_OK;
index c19d0f6dc05f213caecd26de8e0a9f5da8699ce6..bd7111a016bb7429acd3985812840a54013fd002 100644 (file)
@@ -28,7 +28,7 @@ usage(FILE *fp, char *prog) {
         fprintf(fp, "\n\nUsage: %s [-hsv] [-ap NUM] [-o ORIGIN] [<zonefile>]\n", prog);
         fprintf(fp, "\tReads a zonefile and add some artificial NS RRsets and DS records.\n");
         fprintf(fp, "\tIf no zonefile is given, the zone is read from stdin.\n");
-        fprintf(fp, "\t-a <NUM> add NUM artifical delegations (NS RRSets) to output.\n");
+        fprintf(fp, "\t-a <NUM> add NUM artificial delegations (NS RRSets) to output.\n");
         fprintf(fp, "\t-p <NUM> add NUM percent of DS RRset's to the NS RRsets (1-%d RR's per DS RRset).\n", NUM_DS);
         fprintf(fp, "\t-o ORIGIN sets an $ORIGIN, which can be handy if the one in the zonefile is set to @.\n");
         fprintf(fp, "\t-s if input zone file is already sorted and canonicalized (ie all lowercase),\n\t   use this option to speed things up while inserting DS records.\n");
index 4988bfbb3fb367c4815d5a7a1d9a572274eeda9a..48e1683b52a41921c12b84f5b9def2f445621595 100644 (file)
@@ -377,7 +377,7 @@ retrieve_dnskeys(ldns_resolver *local_res, ldns_rdf *name, ldns_rr_type t,
                authority_list = NULL;
                
                if (loop_count++ > 20) {
-                       /* unlikely that we are doing something usefull */
+                       /* unlikely that we are doing something useful */
                        fprintf(stderr, "Looks like we are looping");
                        ldns_pkt_free(p); 
                        return NULL;
index 8ce86a41d560a22243fdabf3fd0ae03707268aca..fa0e3d704c9504252372fc3309f3c7229cdce409 100644 (file)
--- a/higher.c
+++ b/higher.c
@@ -2,7 +2,7 @@
  * higher.c
  *
  * Specify some higher level functions that would
- * be usefull to would be developers
+ * be useful to would be developers
  *
  * a Net::DNS like library for C
  *
index 3b64198d8d57627196e28282081baa48d722b801..68e7747ef39fcdcdb0d30ce8bffde062de0b37a1 100644 (file)
@@ -367,7 +367,7 @@ ldns_buffer_write_at(ldns_buffer *buffer, size_t at, const void *data, size_t co
  * writes count bytes of data to the current position of the buffer
  * \param[in] buffer the buffer
  * \param[in] data the data to write
- * \param[in] count the lenght of the data to write
+ * \param[in] count the length of the data to write
  */
 INLINE void
 ldns_buffer_write(ldns_buffer *buffer, const void *data, size_t count)
index 8234eb7db374ef4676ed1f0fa7c649dad29e8eef..b72ad1c2f6ea1c1ceafc6f5600eefb2cd536cec8 100644 (file)
@@ -133,7 +133,7 @@ ldns_status ldns_dane_create_tlsa_owner(ldns_rdf** tlsa_owner,
 
 #if LDNS_BUILD_CONFIG_HAVE_SSL
 /**
- * Creates a LDNS_RDF_TYPE_HEX type rdf based on the binary data choosen by
+ * Creates a LDNS_RDF_TYPE_HEX type rdf based on the binary data chosen by
  * the selector and encoded using matching_type.
  *
  * \param[out] rdf The created created rdf of type LDNS_RDF_TYPE_HEX.
@@ -162,7 +162,7 @@ ldns_status ldns_dane_cert2rdf(ldns_rdf** rdf, X509* cert,
  *            "CA constraint" or "Service Certificate Constraint" to 
  *            validate the certificate and, in case of "CA constraint",
  *            select the CA.
- *            When pkix_validation_store is NULL, validation is explicitely
+ *            When pkix_validation_store is NULL, validation is explicitly
  *            turned off and the behaviour is then the same as for "Trust
  *            anchor assertion" and "Domain issued certificate" respectively.
  * \param[in] cert_usage Which certificate to use and how to validate.
index 291786ba88fb5bcd338b0971dad2419546ad57d6..cefc07da05e780398cb5df098fa44a44021a66bf 100644 (file)
@@ -165,7 +165,7 @@ int ldns_dname_match_wildcard(const ldns_rdf *dname, const ldns_rdf *wildcard);
 
 /**
  * check if middle lays in the interval defined by prev and next
- * prev <= middle < next. This is usefull for nsec checking
+ * prev <= middle < next. This is useful for nsec checking
  * \param[in] prev the previous dname
  * \param[in] middle the dname to check
  * \param[in] next the next dname
index e69389e90aeefaf86b7ef456f9d03fedc20452bc..325c562f5f49ecbb9d5461d6d3834b842f608c92 100644 (file)
@@ -139,14 +139,14 @@ ldns_output_format* ldns_output_format_init(ldns_output_format_storage* fmt) {
 }
 
 /**
- * Set an ouput format flag.
+ * Set an output format flag.
  */
 INLINE void ldns_output_format_set(ldns_output_format* fmt, int flag) {
         fmt->flags |= flag;
 }
 
 /**
- * Clear an ouput format flag.
+ * Clear an output format flag.
  */
 INLINE void ldns_output_format_clear(ldns_output_format* fmt, int flag) {
         fmt->flags &= !flag;
index d3b487386fc1a5aea042b94a06a71f8d7372540e..019667a74890e196686029137984b4424b84ddab 100644 (file)
@@ -553,7 +553,7 @@ ldns_key *ldns_key_list_pop_key(ldns_key_list *key_list);
 ldns_rr *ldns_key2rr(const ldns_key *k);
 
 /**
- * print a private key to the file ouput
+ * print a private key to the file output
  * 
  * \param[in] output the FILE descriptor where to print to
  * \param[in] k the ldns_key to print
index e6b3618f20f2dad6bc4b3ea67ca8b4758d2d1720..626d34d5c8380661163d2771db01a3e6649d0999 100644 (file)
@@ -166,7 +166,7 @@ uint8_t *ldns_tcp_read_wire(int sockfd, size_t *size);
  *
  * \param[in] sockfd the socket to read from
  * \param[in] fr the address of the client (if applicable)
- * \param[in] *frlen the lenght of the client's addr (if applicable)
+ * \param[in] *frlen the length of the client's addr (if applicable)
  * \param[out] size the number of bytes that are read
  * \return the data read
  */
index 75ac352df3acd1a5ae2e98b77e41322f4d5b5453..d76b38c2c9c8e01d0c78ecaa8e60d55e0b9a28ee 100644 (file)
--- a/ldns/rr.h
+++ b/ldns/rr.h
@@ -894,7 +894,7 @@ ldns_rr_list *ldns_rr_list_subtype_by_rdf(ldns_rr_list *l, ldns_rdf *r, size_t p
 
 /**
  * convert an rdf of type LDNS_RDF_TYPE_TYPE to an actual
- * LDNS_RR_TYPE. This is usefull in the case when inspecting
+ * LDNS_RR_TYPE. This is useful in the case when inspecting
  * the rrtype covered field of an RRSIG.
  * \param[in] rd the rdf to look at
  * \return a ldns_rr_type with equivalent LDNS_RR_TYPE
index 0fbc4e638e78e99123930154792d44b0f541bd4b..514fcf3bb434d025c59baf49e232420648e8b736 100644 (file)
@@ -276,7 +276,7 @@ time_t mktime_from_utc(const struct tm *tm);
  * The function interprets time as the number of seconds since epoch
  * with respect to now using serial arithmitics (rfc1982).
  * That number of seconds is then converted to broken-out time information.
- * This is especially usefull when converting the inception and expiration
+ * This is especially useful when converting the inception and expiration
  * fields of RRSIG records.
  *
  * \param[in] time number of seconds since epoch (midnight, January 1st, 1970)