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
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"
#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
"""
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.
#!/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
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.
";
.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
}
*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;
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");
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;
* 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
*
* 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)
#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.
* "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.
/**
* 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
}
/**
- * 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;
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
*
* \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
*/
/**
* 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
* 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)