From: Willem Toorop Date: Fri, 13 Feb 2015 12:37:30 +0000 (+0100) Subject: Spelling fixes from Andreas Schulze X-Git-Tag: release-1.7.0-rc1~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eda77fad6d94ad4f739ee15aa0d2f403f3337e09;p=thirdparty%2Fldns.git Spelling fixes from Andreas Schulze --- diff --git a/Changelog b/Changelog index 47138915..8d1a573d 100644 --- 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 diff --git a/contrib/python/Makefile b/contrib/python/Makefile index debc7d04..172ab20c 100644 --- a/contrib/python/Makefile +++ b/contrib/python/Makefile @@ -34,7 +34,7 @@ help: @echo "Please use \`make ' where 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" diff --git a/contrib/python/ldns_key.i b/contrib/python/ldns_key.i index 26a9b0f5..93f09c65 100644 --- a/contrib/python/ldns_key.i +++ b/contrib/python/ldns_key.i @@ -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 675dfa8b..5e35c04f 100644 --- 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. diff --git a/doc/doxyparse.pl b/doc/doxyparse.pl index 1c2a8182..66c846ae 100755 --- a/doc/doxyparse.pl +++ b/doc/doxyparse.pl @@ -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. "; diff --git a/drill/drill.1.in b/drill/drill.1.in index ac98dab1..76d60f1a 100644 --- a/drill/drill.1.in +++ b/drill/drill.1.in @@ -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 diff --git a/examples/ldns-dane.c b/examples/ldns-dane.c index 8d8c2749..9b1f1312 100644 --- a/examples/ldns-dane.c +++ b/examples/ldns-dane.c @@ -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; diff --git a/examples/ldns-gen-zone.c b/examples/ldns-gen-zone.c index c19d0f6d..bd7111a0 100644 --- a/examples/ldns-gen-zone.c +++ b/examples/ldns-gen-zone.c @@ -28,7 +28,7 @@ usage(FILE *fp, char *prog) { fprintf(fp, "\n\nUsage: %s [-hsv] [-ap NUM] [-o ORIGIN] []\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 add NUM artifical delegations (NS RRSets) to output.\n"); + fprintf(fp, "\t-a add NUM artificial delegations (NS RRSets) to output.\n"); fprintf(fp, "\t-p 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"); diff --git a/examples/ldns-keyfetcher.c b/examples/ldns-keyfetcher.c index 4988bfbb..48e1683b 100644 --- a/examples/ldns-keyfetcher.c +++ b/examples/ldns-keyfetcher.c @@ -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; diff --git a/higher.c b/higher.c index 8ce86a41..fa0e3d70 100644 --- 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 * diff --git a/ldns/buffer.h b/ldns/buffer.h index 3b64198d..68e7747e 100644 --- a/ldns/buffer.h +++ b/ldns/buffer.h @@ -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) diff --git a/ldns/dane.h b/ldns/dane.h index 8234eb7d..b72ad1c2 100644 --- a/ldns/dane.h +++ b/ldns/dane.h @@ -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. diff --git a/ldns/dname.h b/ldns/dname.h index 291786ba..cefc07da 100644 --- a/ldns/dname.h +++ b/ldns/dname.h @@ -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 diff --git a/ldns/host2str.h b/ldns/host2str.h index e69389e9..325c562f 100644 --- a/ldns/host2str.h +++ b/ldns/host2str.h @@ -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; diff --git a/ldns/keys.h b/ldns/keys.h index d3b48738..019667a7 100644 --- a/ldns/keys.h +++ b/ldns/keys.h @@ -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 diff --git a/ldns/net.h.in b/ldns/net.h.in index e6b3618f..626d34d5 100644 --- a/ldns/net.h.in +++ b/ldns/net.h.in @@ -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 */ diff --git a/ldns/rr.h b/ldns/rr.h index 75ac352d..d76b38c2 100644 --- 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 diff --git a/ldns/util.h.in b/ldns/util.h.in index 0fbc4e63..514fcf3b 100644 --- a/ldns/util.h.in +++ b/ldns/util.h.in @@ -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)