mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Spelling cleanup.
No functional changes, just fixing minor spelling issues. --- Most of these were identified from the command line by running: codespell \ --ignore-words-list fpr,stati,keyserver,keyservers,asign,cas,iff,ifset \ --skip '*.po,ChangeLog*,help.*.txt,*.jpg,*.eps,*.pdf,*.png,*.gpg,*.asc' \ doc g13 g10 kbx agent artwork scd tests tools am common dirmngr sm \ NEWS README README.maint TODO Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
parent
0e1cbabc0a
commit
0904b8ef34
83 changed files with 122 additions and 122 deletions
|
@ -804,7 +804,7 @@ learn_status_cb (void *opaque, const char *line)
|
|||
|
||||
/* Note that KEY-ATTR returns OpenPGP algorithm numbers but
|
||||
* we want to use the Gcrypt numbers here. A compatible
|
||||
* change would be to add another paramater along with a
|
||||
* change would be to add another parameter along with a
|
||||
* magic algo number to indicate that. */
|
||||
algo = PUBKEY_ALGO_RSA;
|
||||
keyno = n = 0;
|
||||
|
@ -1215,7 +1215,7 @@ scd_writecert (const char *certidstr,
|
|||
|
||||
/* Send a WRITEKEY command to the agent (so that the agent can fetch
|
||||
* the key to write). KEYGRIP is the hexified keygrip of the source
|
||||
* key which will be written to tye slot KEYREF. FORCE must be true
|
||||
* key which will be written to the slot KEYREF. FORCE must be true
|
||||
* to overwrite an existing key. */
|
||||
gpg_error_t
|
||||
scd_writekey (const char *keyref, int force, const char *keygrip)
|
||||
|
|
|
@ -306,7 +306,7 @@ yk_enable_disable (struct ykapps_s *yk, struct iface_s *iface,
|
|||
|
||||
/* Implementation part of cmd_yubikey. ARGV is an array of size ARGc
|
||||
* with the argumets given to the yubikey command. Note that ARGV has
|
||||
* no terminating NULL so that ARGC must be considred. FP is the
|
||||
* no terminating NULL so that ARGC must be considered. FP is the
|
||||
* stream to output information. This function must only be called on
|
||||
* Yubikeys. */
|
||||
gpg_error_t
|
||||
|
|
|
@ -458,10 +458,10 @@ get_selection (const char *prompt)
|
|||
|
||||
|
||||
/* Simply prints TEXT to the output. Returns 0 as a convenience.
|
||||
* This is a separate fucntion so that it can be extended to run
|
||||
* This is a separate function so that it can be extended to run
|
||||
* less(1) or so. The extra arguments are int values terminated by a
|
||||
* 0 to indicate card application types supported with this command.
|
||||
* If none are given (just teh final 0), this is a general
|
||||
* If none are given (just the final 0), this is a general
|
||||
* command. */
|
||||
static gpg_error_t
|
||||
print_help (const char *text, ...)
|
||||
|
@ -1206,7 +1206,7 @@ cmd_authenticate (card_info_t info, char *argstr)
|
|||
if (!info)
|
||||
return print_help
|
||||
("AUTHENTICATE [--setkey] [--raw] [< FILE]|KEY\n\n"
|
||||
"Perform a mutual autentication either by reading the key\n"
|
||||
"Perform a mutual authentication either by reading the key\n"
|
||||
"from FILE or by taking it from the command line. Without\n"
|
||||
"the option --raw the key is expected to be hex encoded.\n"
|
||||
"To install a new administration key --setkey is used; this\n"
|
||||
|
@ -2015,7 +2015,7 @@ cmd_forcesig (card_info_t info)
|
|||
|
||||
|
||||
|
||||
/* Helper for cmd_generate_openpgp. Nore that either 0 or 1 is stored at
|
||||
/* Helper for cmd_generate_openpgp. Note that either 0 or 1 is stored at
|
||||
* FORCED_CHV1. */
|
||||
static gpg_error_t
|
||||
check_pin_for_key_operation (card_info_t info, int *forced_chv1)
|
||||
|
|
|
@ -223,7 +223,7 @@ main (int argc, char **argv )
|
|||
/* Read a file FNAME into a buffer and return that malloced buffer.
|
||||
Caller must free the buffer. On error NULL is returned, on success
|
||||
the valid length of the buffer is stored at R_LENGTH. The returned
|
||||
buffer is guarnteed to be nul terminated. */
|
||||
buffer is guaranteed to be nul terminated. */
|
||||
static char *
|
||||
read_file (const char *fname, size_t *r_length)
|
||||
{
|
||||
|
|
|
@ -492,7 +492,7 @@ arithmetic_op (int operator, const char *operands)
|
|||
|
||||
unescape ARGS
|
||||
Remove C-style escapes from string. Note that "\0" and
|
||||
"\x00" terminate the string implictly. Use "\x7d" to
|
||||
"\x00" terminate the string implicitly. Use "\x7d" to
|
||||
represent the closing brace. The args start right after
|
||||
the first space after the function name.
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
* The Responder receives the DHPART2 message and checks that the hash
|
||||
* of the received PKi matches the Hash(PKi) value as received earlier
|
||||
* with the COMMIT message. The Responder now also computes the
|
||||
* shared master secret from its SKr and the recived PKi and derives
|
||||
* shared master secret from its SKr and the received PKi and derives
|
||||
* the keys:
|
||||
*
|
||||
* - HMACi-key using the label "GPG-pa1-HMACi-key".
|
||||
|
@ -324,7 +324,7 @@ set_status_fd (int fd)
|
|||
}
|
||||
|
||||
|
||||
/* Write a status line with code NO followed by the outout of the
|
||||
/* Write a status line with code NO followed by the output of the
|
||||
* printf style FORMAT. The caller needs to make sure that LFs and
|
||||
* CRs are not printed. */
|
||||
static void
|
||||
|
@ -876,7 +876,7 @@ send_message (const unsigned char *msg, size_t msglen)
|
|||
* error NULL is stored at R_MSG, a diagnostic printed and an error
|
||||
* code returned. The returned message has a proper message type and
|
||||
* an appropriate length. The message type is stored at R_MSGTYPE and
|
||||
* if a state is availabale it is stored at R_STATE. */
|
||||
* if a state is available it is stored at R_STATE. */
|
||||
static gpg_error_t
|
||||
read_message (unsigned char **r_msg, size_t *r_msglen, int *r_msgtype,
|
||||
nvc_t *r_state)
|
||||
|
|
|
@ -1393,9 +1393,9 @@ gc_component_reload (int component)
|
|||
/* More or less Robust version of dgettext. It has the side effect of
|
||||
switching the codeset to utf-8 because this is what we want to
|
||||
output. In theory it is possible to keep the original code set and
|
||||
switch back for regular disgnostic output (redefine "_(" for that)
|
||||
but given the natur of this tool, being something invoked from
|
||||
other pograms, it does not make much sense. */
|
||||
switch back for regular diagnostic output (redefine "_(" for that)
|
||||
but given the nature of this tool, being something invoked from
|
||||
other programs, it does not make much sense. */
|
||||
static const char *
|
||||
my_dgettext (const char *domain, const char *msgid)
|
||||
{
|
||||
|
|
|
@ -331,7 +331,7 @@ valid_swdb_name_p (const char *name)
|
|||
* Common codes seen:
|
||||
* GPG_ERR_TOO_OLD :: The SWDB file is to old to be used.
|
||||
* GPG_ERR_ENOENT :: The SWDB file is not available.
|
||||
* GPG_ERR_BAD_SIGNATURE :: Currupted SWDB file.
|
||||
* GPG_ERR_BAD_SIGNATURE :: Corrupted SWDB file.
|
||||
* filedate:: Date of the swdb file (yyyymmddThhmmss)
|
||||
* verified:: Date we checked the validity of the file (yyyyymmddThhmmss)
|
||||
* version :: The version string from the swdb.
|
||||
|
|
|
@ -130,7 +130,7 @@ show_message_parser_event (rfc822parse_event_t event)
|
|||
/* Do in-place decoding of quoted-printable data of LENGTH in BUFFER.
|
||||
Returns the new length of the buffer and stores true at R_SLBRK if
|
||||
the line ended with a soft line break; false is stored if not.
|
||||
This function asssumes that a complete line is passed in
|
||||
This function assumes that a complete line is passed in
|
||||
buffer. */
|
||||
static size_t
|
||||
qp_decode (char *buffer, size_t length, int *r_slbrk)
|
||||
|
@ -196,7 +196,7 @@ parse_message_cb (void *opaque, rfc822parse_event_t event, rfc822parse_t msg)
|
|||
const char *s;
|
||||
int rc = 0;
|
||||
|
||||
/* Make the RFC822 parser context availabale for callbacks. */
|
||||
/* Make the RFC822 parser context available for callbacks. */
|
||||
ctx->msg = msg;
|
||||
|
||||
if (ctx->debug)
|
||||
|
|
|
@ -439,7 +439,7 @@ main (int argc, char **argv)
|
|||
{
|
||||
/* No args given - figure out the socket using gpgconf. We also
|
||||
* force overwriting the socket because the constructed name
|
||||
* can't be some accidently given name. */
|
||||
* can't be some accidentally given name. */
|
||||
logname = get_logname (homedir);
|
||||
force = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue