diff --git a/common/userids.c b/common/userids.c index 61e88cccf..e1304be0a 100644 --- a/common/userids.c +++ b/common/userids.c @@ -38,7 +38,7 @@ /* Parse the user-id NAME and build a search description for it. - * Returns 0 on succdess or an error code. DESC may be NULL to merely + * Returns 0 on success or an error code. DESC may be NULL to merely * check the validity of a user-id. * * Some used rules: diff --git a/configure.ac b/configure.ac index 34fffb28d..d02137a94 100644 --- a/configure.ac +++ b/configure.ac @@ -1799,7 +1799,7 @@ if test x"$use_regex" != xyes ; then echo " Warning: No regular expression support available. OpenPGP trust signatures won't work. - gpg-check-pattern will not be build. + gpg-check-pattern will not be built. " fi if test "x${gpg_config_script_warn}" != x; then diff --git a/dirmngr/certcache.c b/dirmngr/certcache.c index 7fc982684..8c5feeff4 100644 --- a/dirmngr/certcache.c +++ b/dirmngr/certcache.c @@ -78,7 +78,7 @@ typedef struct cert_item_s *cert_item_t; the first byte of the fingerprint. */ static cert_item_t cert_cache[256]; -/* This is the global cache_lock variable. In general looking is not +/* This is the global cache_lock variable. In general locking is not needed but it would take extra efforts to make sure that no indirect use of npth functions is done, so we simply lock it always. Note: We can't use static initialization, as that is not @@ -153,7 +153,7 @@ compare_serialno (ksba_sexp_t serial1, ksba_sexp_t serial2 ) -/* Return a malloced canonical S-Expression with the serialnumber +/* Return a malloced canonical S-Expression with the serial number converted from the hex string HEXSN. Return NULL on memory error. */ ksba_sexp_t diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c index 36a476aa6..94d66924d 100644 --- a/dirmngr/dirmngr.c +++ b/dirmngr/dirmngr.c @@ -251,7 +251,7 @@ static const char *redir_socket_name; POSIX systems). */ static assuan_sock_nonce_t socket_nonce; -/* Only if this flag has been set we will remove the socket file. */ +/* Only if this flag has been set will we remove the socket file. */ static int cleanup_socket; /* Keep track of the current log file so that we can avoid updating @@ -1881,8 +1881,8 @@ handle_tick (void) } -/* Check the nonce on a new connection. This is a NOP unless we we - are using our Unix domain socket emulation under Windows. */ +/* Check the nonce on a new connection. This is a NOP unless we are + using our Unix domain socket emulation under Windows. */ static int check_nonce (assuan_fd_t fd, assuan_sock_nonce_t *nonce) { diff --git a/dirmngr/ks-engine-hkp.c b/dirmngr/ks-engine-hkp.c index 960d5fcc5..c382e1bd3 100644 --- a/dirmngr/ks-engine-hkp.c +++ b/dirmngr/ks-engine-hkp.c @@ -1396,7 +1396,7 @@ put_post_cb (void *opaque, http_t http) } -/* Send the key in {DATA,DATALEN} to the keyserver identified by URI. */ +/* Send the key in {DATA,DATALEN} to the keyserver identified by URI. */ gpg_error_t ks_hkp_put (ctrl_t ctrl, parsed_uri_t uri, const void *data, size_t datalen) { diff --git a/dirmngr/ldap-wrapper.c b/dirmngr/ldap-wrapper.c index f2aaf59d0..558846830 100644 --- a/dirmngr/ldap-wrapper.c +++ b/dirmngr/ldap-wrapper.c @@ -630,7 +630,7 @@ reader_callback (void *cb_value, char *buffer, size_t count, size_t *nread) return 0; } -/* Fork and exec the LDAP wrapper and returns a new libksba reader +/* Fork and exec the LDAP wrapper and return a new libksba reader object at READER. ARGV is a NULL terminated list of arguments for the wrapper. The function returns 0 on success or an error code. diff --git a/dirmngr/ldap.c b/dirmngr/ldap.c index c59619897..e4c6aa2ff 100644 --- a/dirmngr/ldap.c +++ b/dirmngr/ldap.c @@ -131,7 +131,7 @@ run_ldap_wrapper (ctrl_t ctrl, *reader = NULL; argc = 0; - if (pass) /* Note, that the password most be the first item. */ + if (pass) /* Note, that the password must be the first item. */ { argv[argc++] = "--pass"; argv[argc++] = pass; diff --git a/dirmngr/ldapserver.c b/dirmngr/ldapserver.c index 5808c5b02..16e13e2fe 100644 --- a/dirmngr/ldapserver.c +++ b/dirmngr/ldapserver.c @@ -47,7 +47,7 @@ ldapserver_list_free (ldap_server_t servers) /* Parse a single LDAP server configuration line. Returns the server - or NULL in case of errors. The configuration lineis assumed to be + or NULL in case of errors. The configuration line is assumed to be colon seprated with these fields: 1. field: Hostname diff --git a/dirmngr/misc.c b/dirmngr/misc.c index 93f051c1a..244919eb0 100644 --- a/dirmngr/misc.c +++ b/dirmngr/misc.c @@ -125,7 +125,7 @@ serial_to_buffer (const ksba_sexp_t serial, size_t *length) } -/* Do an in-place percent unescaping of STRING. Returns STRING. Noet +/* Do an in-place percent unescaping of STRING. Returns STRING. Note that this function does not do a '+'-to-space unescaping.*/ char * unpercent_string (char *string) diff --git a/dirmngr/server.c b/dirmngr/server.c index b5d1653cd..deae85ca1 100644 --- a/dirmngr/server.c +++ b/dirmngr/server.c @@ -1635,7 +1635,7 @@ cmd_ks_get (assuan_context_t ctx, char *line) /* No options for now. */ line = skip_options (line); - /* Break the line down into an strlist. Each pattern is by + /* Break the line into a strlist. Each pattern is by definition percent-plus escaped. However we only support keyids and fingerprints and thus the client has no need to apply the escaping. */ @@ -1752,7 +1752,7 @@ cmd_ks_put (assuan_context_t ctx, char *line) } /* Ask for the key meta data. Not actually needed for HKP servers - but we do it anyway test the client implementaion. */ + but we do it anyway to test the client implementaion. */ err = assuan_inquire (ctx, "KEYBLOCK_INFO", &info, &infolen, MAX_KEYBLOCK_LENGTH); if (err) @@ -1944,8 +1944,8 @@ reset_notify (assuan_context_t ctx, char *line) } -/* Startup the server and run the main command loop. With FD = -1 - used stdin/stdout. */ +/* Startup the server and run the main command loop. With FD = -1, + use stdin/stdout. */ void start_command_handler (assuan_fd_t fd) { diff --git a/doc/DETAILS b/doc/DETAILS index 61ad7d801..fd72b8882 100644 --- a/doc/DETAILS +++ b/doc/DETAILS @@ -32,7 +32,7 @@ fpr:::::::::AB059359A3B81F410FCFF97F5CE086B5B5A18FF4: #+end_example The double =--with-fingerprint= prints the fingerprint for the subkeys -too. Old versions of gpg used a slighrly different format and required +too. Old versions of gpg used a slightly different format and required the use of the option =--fixed-list-mode= to conform to the format described here. diff --git a/tools/watchgnupg.c b/tools/watchgnupg.c index 8ad2a13e3..9118aa056 100644 --- a/tools/watchgnupg.c +++ b/tools/watchgnupg.c @@ -152,7 +152,7 @@ print_fd_and_time (int fd) /* Print LINE for the client identified by C. Calling this function - witgh LINE set to NULL, will flush the internal buffer. */ + with LINE set to NULL, will flush the internal buffer. */ static void print_line (client_t c, const char *line) {