Commit 89ff266e authored by Daniel Kahn Gillmor's avatar Daniel Kahn Gillmor

Spelling, grammar, and typo cleanup

parent 0909fbcc
......@@ -103,8 +103,8 @@ to enclose such value within double quotes \fB"\fP \fB"\fP\&.
.SH COMMENTS
.sp
A comment begins with a \fB#\fP character and is ignored during processing.
Also each configuration section or sequence block allows to specify permanent
comment using \fBcomment\fP item which is stored in the server beside the
Also each configuration section or sequence block allows a permanent
comment using the \fBcomment\fP item which is stored in the server beside the
configuration.
.SH INCLUDES
.sp
......@@ -651,7 +651,7 @@ can be appended to the address using \fB@\fP separator.
\fIDefault:\fP not set
.SS key
.sp
A \fI\%reference\fP to the TSIG key which ise used to autenticate
A \fI\%reference\fP to the TSIG key which ise used to authenticate
the communication with the remote server.
.sp
\fIDefault:\fP not set
......
......@@ -56,8 +56,8 @@ Comments
========
A comment begins with a ``#`` character and is ignored during processing.
Also each configuration section or sequence block allows to specify permanent
comment using ``comment`` item which is stored in the server beside the
Also each configuration section or sequence block allows a permanent
comment using the ``comment`` item which is stored in the server beside the
configuration.
.. _Includes:
......
......@@ -3,7 +3,7 @@
## Components Location
- library: `lib` (public headers in `lib/dnssec`)
- shared: `shared` (shared code for library and utilities, inaccesible from the library)
- shared: `shared` (shared code for library and utilities, inaccessible from the library)
- tests: `tests`
- utilities: `utils`
......
......@@ -27,7 +27,7 @@
*
* PKCS #8 uses unencrypted PEM, and allows implementation of custom stores.
*
* PKCS #11 allows to access Hardware Security Modules.
* PKCS #11 provides access Hardware Security Modules.
*
* Example of using default PKCS #8 and to generate an RSA key:
*
......
......@@ -32,7 +32,7 @@ static const error_message_t ERROR_MESSAGES[] = {
{ DNSSEC_ENOENT, "no such file or directory" },
{ DNSSEC_ERROR, "unspecified error" },
{ DNSSEC_NOT_IMPLEMENTED_ERROR, "not implemeted" },
{ DNSSEC_NOT_IMPLEMENTED_ERROR, "not implemented" },
{ DNSSEC_MALFORMED_DATA, "malformed data" },
{ DNSSEC_OUT_OF_RANGE, "value out of range" },
{ DNSSEC_NOT_FOUND, "not found" },
......
......@@ -73,7 +73,7 @@ int encode_keyid(const void *value, json_t **result)
}
/*!
* Decode bounded interger value from JSON.
* Decode bounded integer value from JSON.
*/
static int decode_int(const json_int_t min, const json_int_t max,
const json_t *value, json_int_t *result)
......
......@@ -439,7 +439,7 @@ static int put_nsec_nxdomain(const zone_contents_t *zone,
/*!
* \brief Put NSEC3s for NXDOMAIN error into the response.
*
* Adds up to three NSEC3 records. We have to proove that some parent name
* Adds up to three NSEC3 records. We have to prove that some parent name
* exists (closest encloser proof) and that no wildcard expansion is possible
* bellow that closest encloser.
*
......
......@@ -204,7 +204,7 @@ int zone_dump_text(zone_contents_t *zone, FILE *file)
}
}
// Create formated date-time string.
// Create formatted date-time string.
time_t now = time(NULL);
struct tm tm;
localtime_r(&now, &tm);
......
......@@ -411,7 +411,7 @@ size_t knot_edns_client_subnet_size(const knot_edns_client_subnet_t *ecs);
* \param option_len EDNS option data buffer size.
* \param ecs EDNS Client Subnet data.
*
* \return Error code, KNOT_EOK if sucessful.
* \return Error code, KNOT_EOK if successful.
*/
int knot_edns_client_subnet_write(uint8_t *option, size_t option_len,
const knot_edns_client_subnet_t *ecs);
......@@ -423,7 +423,7 @@ int knot_edns_client_subnet_write(uint8_t *option, size_t option_len,
* \param[in] option EDNS option data.
* \param[in] option_len EDNS option size.
*
* \return Error code, KNOT_EOK if sucessful.
* \return Error code, KNOT_EOK if successful.
*/
int knot_edns_client_subnet_parse(knot_edns_client_subnet_t *ecs,
const uint8_t *option, size_t option_len);
......@@ -434,7 +434,7 @@ int knot_edns_client_subnet_parse(knot_edns_client_subnet_t *ecs,
* \param ecs ECS structure to set address into.
* \param addr Address to be set.
*
* \return Error code. KNOT_EOK if succesful.
* \return Error code. KNOT_EOK if successful.
*/
int knot_edns_client_subnet_set_addr(knot_edns_client_subnet_t *ecs,
const struct sockaddr_storage *addr);
......
......@@ -38,7 +38,7 @@
* the message size.
*
* \note This function does not save the new digest to the 'digest' parameter
* unless everything went OK. This allows to sent the same buffer to
* unless everything went OK. This allows sending the same buffer to
* the 'request_mac' and 'digest' parameters.
*
* \param msg Message to be signed.
......@@ -72,7 +72,7 @@ int knot_tsig_sign(uint8_t *msg, size_t *msg_len, size_t msg_max_len,
* the message size.
*
* \note This function does not save the new digest to the 'digest' parameter
* unless everything went OK. This allows to sent the same buffer to
* unless everything went OK. This allows sending the same buffer to
* the 'request_mac' and 'digest' parameters.
*
* \param msg Message to be signed.
......
......@@ -143,7 +143,7 @@ static void print_footer(const size_t total_len,
exec_time = time(NULL);
}
// Create formated date-time string.
// Create formatted date-time string.
localtime_r(&exec_time, &tm);
strftime(date, sizeof(date), "%Y-%m-%d %H:%M:%S %Z", &tm);
......
......@@ -133,7 +133,7 @@ char *name_from_idn(const char *idn_name);
/*!
* \brief Transforms ASCII punycode to localized IDN string.
*
* If an error occures or IDN support is missing, this function does nothing.
* If an error occurs or IDN support is missing, this function does nothing.
*
* \param idn_name ASCII name to transform and replace with IDN name.
*/
......
......@@ -41,7 +41,7 @@ static const parameter_t *param_match(const parameter_t *params, const char *sea
}
if (match) {
error("Ambigious parameter '%s' ('%s' or '%s').",
error("Ambiguous parameter '%s' ('%s' or '%s').",
search, match->name, p->name);
return NULL;
}
......
......@@ -117,7 +117,7 @@ int main(int argc, char *argv[])
switch (ret) {
case KNOT_EOK:
if (verbose) {
fprintf(outfile, "No sematic error found.\n");
fprintf(outfile, "No semantic error found.\n");
}
return EXIT_SUCCESS;
case KNOT_ESEMCHECK:
......
......@@ -361,7 +361,7 @@ int zs_parse_record(
* \brief Launches automatic parsing of the whole input.
*
* For each correctly recognized record, the record callback is executed.
* If any syntax error occures, the error callback is executed.
* If any syntax error occurs, the error callback is executed.
*
* \note Error code and other information are stored in the scanner context.
*
......
......@@ -24,7 +24,7 @@ master1 = t.server("knot")
master2 = t.server("bind")
slave = t.server("knot")
# flush zones immediatelly
# flush zones immediately
for server in [master1, master2, slave]:
slave.zonefile_sync = "0"
......
......@@ -48,7 +48,7 @@ resp = knot.dig("mail6.example.com", "A")
resp.check(rcode="NOERROR", noflags="AA")
compare(resp.count(), 0, "A count")
# Add autority information.
# Add authority information.
module.add_record("example.net", "SOA", "1", "ns1 host 1 3600 60 3600 3600")
module.add_record("example.net", "NS", "2", "ns1.example.net")
module.add_record("ns1.example.net", "A", "3", "127.0.0.2")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment