1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

Improve spelling and grammar of some comments.

--
Signed-off-by: Neal H. Walfield <neal@g10code.de>
This commit is contained in:
Neal H. Walfield 2015-03-19 11:14:52 +01:00
parent 00a16cf493
commit 096f4186c8
12 changed files with 18 additions and 18 deletions

View File

@ -38,7 +38,7 @@
/* Parse the user-id NAME and build a search description for it. /* 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. * check the validity of a user-id.
* *
* Some used rules: * Some used rules:

View File

@ -1799,7 +1799,7 @@ if test x"$use_regex" != xyes ; then
echo " echo "
Warning: No regular expression support available. Warning: No regular expression support available.
OpenPGP trust signatures won't work. OpenPGP trust signatures won't work.
gpg-check-pattern will not be build. gpg-check-pattern will not be built.
" "
fi fi
if test "x${gpg_config_script_warn}" != x; then if test "x${gpg_config_script_warn}" != x; then

View File

@ -78,7 +78,7 @@ typedef struct cert_item_s *cert_item_t;
the first byte of the fingerprint. */ the first byte of the fingerprint. */
static cert_item_t cert_cache[256]; 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 needed but it would take extra efforts to make sure that no
indirect use of npth functions is done, so we simply lock it indirect use of npth functions is done, so we simply lock it
always. Note: We can't use static initialization, as that is not 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 converted from the hex string HEXSN. Return NULL on memory
error. */ error. */
ksba_sexp_t ksba_sexp_t

View File

@ -251,7 +251,7 @@ static const char *redir_socket_name;
POSIX systems). */ POSIX systems). */
static assuan_sock_nonce_t socket_nonce; 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; static int cleanup_socket;
/* Keep track of the current log file so that we can avoid updating /* 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 /* Check the nonce on a new connection. This is a NOP unless we are
are using our Unix domain socket emulation under Windows. */ using our Unix domain socket emulation under Windows. */
static int static int
check_nonce (assuan_fd_t fd, assuan_sock_nonce_t *nonce) check_nonce (assuan_fd_t fd, assuan_sock_nonce_t *nonce)
{ {

View File

@ -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 gpg_error_t
ks_hkp_put (ctrl_t ctrl, parsed_uri_t uri, const void *data, size_t datalen) ks_hkp_put (ctrl_t ctrl, parsed_uri_t uri, const void *data, size_t datalen)
{ {

View File

@ -630,7 +630,7 @@ reader_callback (void *cb_value, char *buffer, size_t count, size_t *nread)
return 0; 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 object at READER. ARGV is a NULL terminated list of arguments for
the wrapper. The function returns 0 on success or an error code. the wrapper. The function returns 0 on success or an error code.

View File

@ -131,7 +131,7 @@ run_ldap_wrapper (ctrl_t ctrl,
*reader = NULL; *reader = NULL;
argc = 0; 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";
argv[argc++] = pass; argv[argc++] = pass;

View File

@ -47,7 +47,7 @@ ldapserver_list_free (ldap_server_t servers)
/* Parse a single LDAP server configuration line. Returns the server /* 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: colon seprated with these fields:
1. field: Hostname 1. field: Hostname

View File

@ -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.*/ that this function does not do a '+'-to-space unescaping.*/
char * char *
unpercent_string (char *string) unpercent_string (char *string)

View File

@ -1635,7 +1635,7 @@ cmd_ks_get (assuan_context_t ctx, char *line)
/* No options for now. */ /* No options for now. */
line = skip_options (line); 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 definition percent-plus escaped. However we only support keyids
and fingerprints and thus the client has no need to apply the and fingerprints and thus the client has no need to apply the
escaping. */ 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 /* 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", err = assuan_inquire (ctx, "KEYBLOCK_INFO",
&info, &infolen, MAX_KEYBLOCK_LENGTH); &info, &infolen, MAX_KEYBLOCK_LENGTH);
if (err) 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 /* Startup the server and run the main command loop. With FD = -1,
used stdin/stdout. */ use stdin/stdout. */
void void
start_command_handler (assuan_fd_t fd) start_command_handler (assuan_fd_t fd)
{ {

View File

@ -32,7 +32,7 @@ fpr:::::::::AB059359A3B81F410FCFF97F5CE086B5B5A18FF4:
#+end_example #+end_example
The double =--with-fingerprint= prints the fingerprint for the subkeys 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 the use of the option =--fixed-list-mode= to conform to the format
described here. described here.

View File

@ -152,7 +152,7 @@ print_fd_and_time (int fd)
/* Print LINE for the client identified by C. Calling this function /* 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 static void
print_line (client_t c, const char *line) print_line (client_t c, const char *line)
{ {