summaryrefslogtreecommitdiffstats
path: root/dirmngr
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2024-01-29 09:16:21 +0100
committerWerner Koch <wk@gnupg.org>2024-01-29 09:16:21 +0100
commit2ed1f68b48db7b5503045386de0500fddf70077e (patch)
tree4472c9d48c72d08dfd85ea35b15d65a0bc0d3ad1 /dirmngr
parentspeedo: Improve parsing of the ~./.gnupg-autogen.rc (diff)
downloadgnupg2-2ed1f68b48db7b5503045386de0500fddf70077e.tar.xz
gnupg2-2ed1f68b48db7b5503045386de0500fddf70077e.zip
doc: Fix spelling errors found by lintian.
-- Reported-by: Andreas Metzler <ametzler@debian.org>
Diffstat (limited to 'dirmngr')
-rw-r--r--dirmngr/dirmngr_ldap.c2
-rw-r--r--dirmngr/http.c4
-rw-r--r--dirmngr/ks-engine-ldap.c2
-rw-r--r--dirmngr/server.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/dirmngr/dirmngr_ldap.c b/dirmngr/dirmngr_ldap.c
index 412d0ad1f..d999ee87e 100644
--- a/dirmngr/dirmngr_ldap.c
+++ b/dirmngr/dirmngr_ldap.c
@@ -107,7 +107,7 @@ static gpgrt_opt_t opts[] = {
" a record oriented format"},
{ oProxy, "proxy", 2,
"|NAME|ignore host part and connect through NAME"},
- { oStartTLS, "starttls", 0, "use STARTLS for the conenction"},
+ { oStartTLS, "starttls", 0, "use STARTLS for the connection"},
{ oLdapTLS, "ldaptls", 0, "use a TLS for the connection"},
{ oNtds, "ntds", 0, "authenticate using AD"},
{ oARecOnly, "areconly", 0, "do only an A record lookup"},
diff --git a/dirmngr/http.c b/dirmngr/http.c
index 4899a5d55..a6892479e 100644
--- a/dirmngr/http.c
+++ b/dirmngr/http.c
@@ -2882,7 +2882,7 @@ send_request (ctrl_t ctrl,
if (proxy && proxy->is_http_proxy)
{
- use_http_proxy = 1; /* We want to use a proxy for the conenction. */
+ use_http_proxy = 1; /* We want to use a proxy for the connection. */
err = connect_server (ctrl,
*proxy->uri->host ? proxy->uri->host : "localhost",
proxy->uri->port ? proxy->uri->port : 80,
@@ -4411,7 +4411,7 @@ same_host_p (parsed_uri_t a, parsed_uri_t b)
}
/* Also consider hosts the same if they differ only in a subdomain;
- * in both direction. This allows to have redirection between the
+ * in both direction. This allows one to have redirection between the
* WKD advanced and direct lookup methods. */
for (i=0; i < DIM (subdomains); i++)
{
diff --git a/dirmngr/ks-engine-ldap.c b/dirmngr/ks-engine-ldap.c
index c2a210542..749c0de09 100644
--- a/dirmngr/ks-engine-ldap.c
+++ b/dirmngr/ks-engine-ldap.c
@@ -605,7 +605,7 @@ interrogate_ldap_dn (LDAP *ldap_conn, const char *basedn_search,
* including whether to use TLS and the username and password (see
* ldap_parse_uri for a description of the various fields). Be
* default a PGP keyserver is assumed; if GENERIC is true a generic
- * ldap conenction is instead established.
+ * ldap connection is instead established.
*
* Returns: The ldap connection handle in *LDAP_CONNP, R_BASEDN is set
* to the base DN for the PGP key space, several flags will be stored
diff --git a/dirmngr/server.c b/dirmngr/server.c
index 1dbc87878..32c85d07b 100644
--- a/dirmngr/server.c
+++ b/dirmngr/server.c
@@ -3325,7 +3325,7 @@ dirmngr_status_help (ctrl_t ctrl, const char *text)
/* Print a help status line using a printf like format. The function
- * splits text at LFs. With CTRL beeing NULL, the function behaves
+ * splits text at LFs. With CTRL being NULL, the function behaves
* like log_info. */
gpg_error_t
dirmngr_status_helpf (ctrl_t ctrl, const char *format, ...)