Skip to content

Fix spelling in docs/code comments #180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BRANCHES
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ br-msk-lua Experimenting with LUA for scriptable policy hooks
br-msk-lua-dataset
Experimental addition of a new "lua:" dataset type.

br-msk-lua-dbs Support for abitrary data set operations from Lua scripts.
br-msk-lua-dbs Support for arbitrary data set operations from Lua scripts.

br-msk-openldap OpenLDAP integration work

Expand Down
2 changes: 1 addition & 1 deletion INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ doesn't find it, you will need to specify the location with
--with-db-libdir
--with-db-lib
These provide a finer control over the location of BerkeleyDB
include, library path and libary name where the default
include, library path and library name where the default
locations of --with-db are not enough.

--with-domain Specifies the local domain name in use. Used only for
Expand Down
12 changes: 6 additions & 6 deletions RELEASE_NOTES
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ release, and a summary of the changes in that release.
Fix bug #237: Fix processing of "SoftStart".
CONFIG: Add compatibility with openssl-1.1.0. Patch from
Scott Kitterman.
CONTRIB: Simplfy some logic in contrib/repute. Patch from
CONTRIB: Simplify some logic in contrib/repute. Patch from
Dilyan Palauzov.
LIBOPENDKIM: Feature request #190: Reject signature object requests
where the domain name or selector includes non-printable
Expand All @@ -49,7 +49,7 @@ release, and a summary of the changes in that release.
oversized input lines. Reported by Mars Peng.
LIBOPENDKIM: Fix parsing bug in dkim_mail_parse_multi(), where quotes
were not being properly handled.
TOOLS: Feature requrest #187: Add option to match subdomains when
TOOLS: Feature request #187: Add option to match subdomains when
generating zone files. Patch from Andreas Schulze.

2.10.3 2015/05/12
Expand Down Expand Up @@ -850,7 +850,7 @@ release, and a summary of the changes in that release.
and final callbacks. Problem noted by Heikki Gruner.
LIBOPENDKIM: Fix up initialization under _FFR_OVERSIGN. Problem
noted by Eray Aslan.
BUILD: Adjust gprof code to accomodate systems that put profiling
BUILD: Adjust gprof code to accommodate systems that put profiling
output in <binary>.gmon rather than gmon.out.

2.4.0 2011/06/06
Expand Down Expand Up @@ -1084,7 +1084,7 @@ release, and a summary of the changes in that release.
becomes unresponsive during response processing. Problem
noted by Gary Mills.
BUILD: Move all scripts and executables except opendkim to a bin
directory for adminstrator convenience. They were previously
directory for administrator convenience. They were previously
in sbin.
BUILD: Fix bug #SF3101842: Fix opendkim-genzone build when OpenDBX
is in use.
Expand Down Expand Up @@ -1114,7 +1114,7 @@ release, and a summary of the changes in that release.
LIBOPENDKIM: Fix bug #SF3081964: dkim.h requires <sys/time.h>.
Patch from Kaspar Brand.
LIBOPENDKIM: Fix bug #SF3087251: Use thread-safe resolver functions
when avaialble. Problem noted by Christian Pelissier.
when available. Problem noted by Christian Pelissier.
LIBOPENDKIM: Cancel completed reputation queries. Problem noted
by John Wood.
LIBOPENDKIM: Simplify DKIM_OPTS_ALWAYSHDRS handling.
Expand Down Expand Up @@ -1473,7 +1473,7 @@ release, and a summary of the changes in that release.
which isn't big enough for IPv6 addresses. Use a
(struct sockaddr_storage) instead. Problem noted by
Werner Wiethege.
Fix initalization and processing of ODBX requests.
Fix initialization and processing of ODBX requests.
Fix DB get operations for Sleepycat versions prior to 2.0.0.
Set a flag when crypto initialization is done so that cleanup
occurs on shutdown. Problem noted by Deiva Shanmugam.
Expand Down
6 changes: 3 additions & 3 deletions RELEASE_NOTES.Sendmail
Original file line number Diff line number Diff line change
Expand Up @@ -738,12 +738,12 @@ were logged internally at Sendmail, Inc.
of messages bearing multiple signatures. This included the
following changes:
o Extend draft-ietf-dkim-ssp-00 support to cover
multiply-signed messags.
multiply-signed messages.
o Introduce DKIM_SIGERROR type/constants for associating
an error code with each individual signature.
o New libary flag DKIM_LIBFLAG_DELAYSIGPROC delays all
o New library flag DKIM_LIBFLAG_DELAYSIGPROC delays all
signature processing until dkim_eom().
o New libary flag DKIM_LIBFLAG_EOHCHECK causes dkim_eoh()
o New library flag DKIM_LIBFLAG_EOHCHECK causes dkim_eoh()
to return an error if it was unable to find any
valid signatures when verifying.
o Add new DKIM_CANON data type, referring to a
Expand Down
6 changes: 3 additions & 3 deletions contrib/docs/chroot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Contributed by Andreas Schulze

Running opendkim chroot adds an additional layer of complexity. It is disabled
by default. Only advanced users only should try to enable that special
configuration. To successfull setup a chroot jail you must configure opendkim
configuration. To successfully setup a chroot jail you must configure opendkim
to run *without* that restriction first!

enabling chroot jail
Expand All @@ -15,7 +15,7 @@ opendkim.conf. Then you must restart opendkim.

setting up syslog
=================
opendkim requieres a syslog socket inside the chroot. You have to edit your
opendkim requires a syslog socket inside the chroot. You have to edit your
syslog daemon configuration.

for rsyslog:
Expand All @@ -42,7 +42,7 @@ be placed inside /path/to/chroot.

setup entropie
==============
opendkim needs access to /dev/random or a similiar random generator.
opendkim needs access to /dev/random or a similar random generator.

for linux:
install -d /path/to/chroot/dev/
Expand Down
2 changes: 1 addition & 1 deletion contrib/ldap/README.LDAP
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ to disclose the full signer identity in signatures.


Single signature
In its simpliest form the query retrieves a single signing key. It will be the
In its simplest form the query retrieves a single signing key. It will be the
key from the identity that matches opendkims query strategy best.

The following example uses the opendkim.schema to configure such a query in
Expand Down
2 changes: 1 addition & 1 deletion libopendkim/README
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ Cryptography libraries, such as openssl and gnutls, that can be used with
libopendkim may have initialization requirements. libopendkim will not
initialize these libraries for you, as doing so may interfere with other
aspects of the application calling this library. It is therefore the
responsibility of the calling application to initailize the crypto library
responsibility of the calling application to initialize the crypto library
before attempting DKIM signing or validation, or unexpected errors can occur.
2 changes: 1 addition & 1 deletion libopendkim/dkim-mailparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
** All rights reserved.
*/

/* system inludes */
/* system includes */
#include <sys/types.h>
#include <ctype.h>
#include <string.h>
Expand Down
10 changes: 5 additions & 5 deletions libopendkim/dkim.c
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,7 @@ dkim_privkey_load(DKIM *dkim)
}

/*
** DKIM_CHECK_REQUIREDHDRS -- see if all requried headers are present
** DKIM_CHECK_REQUIREDHDRS -- see if all required headers are present
**
** Parameters:
** dkim -- DKIM handle
Expand Down Expand Up @@ -6083,7 +6083,7 @@ dkim_ohdrs(DKIM *dkim, DKIM_SIGINFO *sig, u_char **ptrs, int *pcnt)
}
}

/* none useable; return error */
/* none usable; return error */
if (sig == NULL)
return DKIM_STAT_INVALID;

Expand Down Expand Up @@ -7369,7 +7369,7 @@ dkim_getsighdr_d(DKIM *dkim, size_t initial, u_char **buf, size_t *buflen)
** dkim -- libopendkim handle
** buf -- buffer into which to write
** buflen -- bytes available at "buf"
** initial -- width aleady consumed for the first line
** initial -- width already consumed for the first line
**
** Return value:
** A DKIM_STAT_* constant.
Expand Down Expand Up @@ -7856,7 +7856,7 @@ dkim_sig_getcanonlen(DKIM *dkim, DKIM_SIGINFO *sig, ssize_t *msglen,
}

/*
** DKIM_SIG_GETFLAGS -- retreive signature handle flags
** DKIM_SIG_GETFLAGS -- retrieve signature handle flags
**
** Parameters:
** sig -- DKIM_SIGINFO handle
Expand All @@ -7875,7 +7875,7 @@ dkim_sig_getflags(DKIM_SIGINFO *sig)
}

/*
** DKIM_SIG_GETBH -- retreive signature handle "bh" test state
** DKIM_SIG_GETBH -- retrieve signature handle "bh" test state
**
** Parameters:
** sig -- DKIM_SIGINFO handle
Expand Down
10 changes: 5 additions & 5 deletions libopendkim/dkim.h
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ extern DKIM_STAT dkim_options __P((DKIM_LIB *dkimlib, int op, dkim_opts_t opt,
void *ptr, size_t len));

/*
** DKIM_SIG_GETFLAGS -- retreive signature handle flags
** DKIM_SIG_GETFLAGS -- retrieve signature handle flags
**
** Parameters:
** sig -- DKIM_SIGINFO handle
Expand All @@ -836,7 +836,7 @@ extern DKIM_STAT dkim_options __P((DKIM_LIB *dkimlib, int op, dkim_opts_t opt,
extern unsigned int dkim_sig_getflags __P((DKIM_SIGINFO *sig));

/*
** DKIM_SIG_GETBH -- retreive signature handle "bh" test state
** DKIM_SIG_GETBH -- retrieve signature handle "bh" test state
**
** Parameters:
** sig -- DKIM_SIGINFO handle
Expand All @@ -849,7 +849,7 @@ extern unsigned int dkim_sig_getflags __P((DKIM_SIGINFO *sig));
extern int dkim_sig_getbh __P((DKIM_SIGINFO *sig));

/*
** DKIM_SIG_GETKEYSIZE -- retreive key size after verifying
** DKIM_SIG_GETKEYSIZE -- retrieve key size after verifying
**
** Parameters:
** sig -- DKIM_SIGINFO handle
Expand All @@ -863,7 +863,7 @@ extern DKIM_STAT dkim_sig_getkeysize __P((DKIM_SIGINFO *sig,
unsigned int *bits));

/*
** DKIM_SIG_GETSIGNALG -- retreive signature algorithm after verifying
** DKIM_SIG_GETSIGNALG -- retrieve signature algorithm after verifying
**
** Parameters:
** sig -- DKIM_SIGINFO handle
Expand All @@ -876,7 +876,7 @@ extern DKIM_STAT dkim_sig_getkeysize __P((DKIM_SIGINFO *sig,
extern DKIM_STAT dkim_sig_getsignalg __P((DKIM_SIGINFO *sig, dkim_alg_t *alg));

/*
** DKIM_SIG_GETSIGNTIME -- retreive signature timestamp after verifying
** DKIM_SIG_GETSIGNTIME -- retrieve signature timestamp after verifying
**
** Parameters:
** sig -- DKIM_SIGINFO handle
Expand Down
8 changes: 4 additions & 4 deletions libopendkim/docs/dkim_options.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ <h1>dkim_options()</h1>
Attempting <tt>DKIM_OP_GETOPT</tt> on this
option returns an error as it is converted
internally to regular expressions and not
currently stored in a useable form.</td></tr>
currently stored in a usable form.</td></tr>
<tr valign="top"><td><tt>DKIM_OPTS_SKIPHDRS</tt></td>
<td><tt>data</tt> refers to an unordered,
NULL-terminated array of header names which
Expand All @@ -171,7 +171,7 @@ <h1>dkim_options()</h1>
Attempting <tt>DKIM_OP_GETOPT</tt> on this
option returns an error as it is converted
to regular expressions and not currently
stored in a useable form.</td></tr>
stored in a usable form.</td></tr>
<tr valign="top"><td><tt>DKIM_OPTS_TMPDIR</tt></td>
<td><tt>data</tt> refers to a string which is
the directory <tt>libopendkim</tt> should use for
Expand Down Expand Up @@ -200,7 +200,7 @@ <h1>dkim_options()</h1>
<tr>
<th valign="top" align=left>FLAGS</th>
<td>
When setting or retreiving library flags, the method is to specify
When setting or retrieving library flags, the method is to specify
a bitwise-OR of flag bits in an unsigned integer. The recognized flags
are:
<table border="1" cellspacing=0>
Expand Down Expand Up @@ -265,7 +265,7 @@ <h1>dkim_options()</h1>
<td>Perform a signature check at the end of
<a href="dkim_eoh.html"><tt>dkim_eoh()</tt></a>.
This will cause <tt>dkim_eoh()</tt> to return an error code if no
useable signatures were found in the message. </td>
usable signatures were found in the message. </td>
</tr>
<tr>
<td><tt>DKIM_LIBFLAGS_FIXCRLF</tt></td>
Expand Down
2 changes: 1 addition & 1 deletion libopendkim/docs/dkim_privkey_load.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1>dkim_privkey_load()</h1>
<th width="80">Called When</th>
<td><tt>dkim_privkey_load()</tt> is called after
<a href="dkim_sign.html"><tt>dkim_sign()</tt></a> is called to create
a message signing handle. It attemps to parse the key provided
a message signing handle. It attempts to parse the key provided
as an argument to that function and extract some parameters of it.
This same operation will be done implicitly by
<a href="dkim_eom.html"><tt>dkim_eom()</tt></a> if not called explicitly
Expand Down
2 changes: 1 addition & 1 deletion libopendkim/docs/dkim_sig_getsignalg.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h1>dkim_sig_getsignalg()</h1>
<tr bgcolor="#dddddd"><th>Value</th><th>Description</th></tr>
<tr valign="top"><td><tt>DKIM_STAT_INVALID</tt></td>
<td>The function was called before <tt>dkim_sig_process()</tt> or
<tt>dkim_eom()</tt> processed the siganture.
<tt>dkim_eom()</tt> processed the signature.
</td></tr>
<tr valign="top"><td><tt>DKIM_STAT_OK</tt></td>
<td>Successful completion.
Expand Down
2 changes: 1 addition & 1 deletion libopendkim/docs/dkim_signhdrs.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h1>dkim_signhdrs()</h1>
<th valign="top" align=left>NOTES</th>
<td>
<ul>
<li>This overides the list of header field names previously selected as the
<li>This overrides the list of header field names previously selected as the
library default by a call to
<a href="dkim_options.html"><tt>dkim_options()</tt></a>. It affects only the
handle passed to the function. If not called, the default set configured for
Expand Down
2 changes: 1 addition & 1 deletion libopendkim/tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ check-local: check-TESTS description.html
--description-file description.html

# remove t- prefix and replace - with _ from testnames because lcov doesn't handle it
# keep consistant with gcov-helper.sh
# keep consistent with gcov-helper.sh

description.txt: $(check_PROGRAMS) $(check_SCRIPTS)
rm -f $@
Expand Down
2 changes: 1 addition & 1 deletion libopendkim/tests/lcov-helper.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
$1
x=$?
# keep consistant with Makefile.am
# keep consistent with Makefile.am
testname=${1/.\/t-}
testname=${testname//-/_}
lcov --capture --directory .. --output-file $1.info --test-name ${testname} --quiet
Expand Down
2 changes: 1 addition & 1 deletion libut/ut.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ ut_hexdigit(int c)

/*
** UT_PCT_ENCODED -- determine whether or not a pct-encoded byte has
** been encoutered
** been encountered
**
** Parameters:
** p -- string to scan
Expand Down
2 changes: 1 addition & 1 deletion libvbr/vbr.3
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ further description for the most recent failed operation.

Calling
.B vbr_getheader()
can be used to generate an RFC-compliant VBR-Info: haeder field based on data
can be used to generate an RFC-compliant VBR-Info: header field based on data
provided by other accessor functions, namely
.I vbr_setcert(),
.I vbr_settype()
Expand Down
2 changes: 1 addition & 1 deletion libvbr/vbr.c
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ vbr_res_waitreply(void *srv, void *qh, struct timeval *to, size_t *bytes,
** buflen -- size of output buffer
**
** Return value:
** TRUE iff ansbuf contains an IN TXT reply that could be deocde.
** TRUE iff ansbuf contains an IN TXT reply that could be decoded.
*/

static _Bool
Expand Down
2 changes: 1 addition & 1 deletion libvbr/vbr.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ libdir=@libdir@
includedir=@includedir@

Name: VBR (Vouch by reference library)
Description: Library for assisting in Vouch By Refence functions
Description: Library for assisting in Vouch By Reference functions
URL: http://opendkim.org
Version: @VERSION@
Libs: -L${libdir} -lvbr
Expand Down
10 changes: 5 additions & 5 deletions opendkim/README
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Consult your documentation for other packet filter and policy systems.
CONFIGURING OPENDKIM
====================

NOTE: If you will only be verfiying incoming mail and will not be signing,
NOTE: If you will only be verifying incoming mail and will not be signing,
start at step (5).

(1) Choose a selector name. A selector is simply a symbolic name given to
Expand Down Expand Up @@ -86,7 +86,7 @@ start at step (5).
For a translation of the parameters and value pairs, see RFC6376. Using
"t=y" is indicates you are in "test mode", advising verifiers that they
should not take any real action based on success or failure of the use
of this key after verifing a message. Remove the "t=y" once you have
of this key after verifying a message. Remove the "t=y" once you have
tested the DKIM signing of your messages to your satisfaction.

You might want to set a short TTL on this record during testing so
Expand All @@ -108,7 +108,7 @@ start at step (5).

dig -t ns DOMAIN

If the key can be retreived correctly then opendkim-testkey can be used to
If the key can be retrieved correctly then opendkim-testkey can be used to
verify that the key matches the private key.

opendkim-testkey -d DOMAIN -s SELECTOR -k rsa.private
Expand All @@ -126,7 +126,7 @@ start at step (5).
(5) Take a look at the opendkim.conf.simple as an example configuration file
for your domain. If you wish to sign mail that comes from sources other
than the localhost address (127.0.0.1), include these in CIDR notation in
the confiugration file for the InternalHosts configuration option.
the configuration file for the InternalHosts configuration option.

(6) Start opendkim. You will need at least the "-p" option. The current
recommended set of command line options is:
Expand Down Expand Up @@ -331,7 +331,7 @@ NOTES ON POSTFIX REWRITING OF MESSAGES
Like other MIME-aware MTAs, Postfix downgrades 8bit body content to 7bit when
a remote SMTP server does not announce 8BITMIME support. If DKIM signatures
must survive transmission to servers that don't announce 8BITMIME, it is
recommented to downgrade before signing (for example, specify
recommended to downgrade before signing (for example, specify
"-o smtp_discard_ehlo_keywords=8bitmime,silent-discard" for an SMTP client
that delivers to a null filter or to amavisd).

Expand Down
Loading