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
|
@ -421,7 +421,7 @@ key_item_unref (key_item_t ki)
|
|||
|
||||
|
||||
/* Given the hash value and the search info, find the key item in the
|
||||
* bucket. Return NULL if not found or the key item if fount. Always
|
||||
* bucket. Return NULL if not found or the key item if found. Always
|
||||
* returns the the number of items searched, which is in the case of a
|
||||
* not-found the length of the chain. Note that FPR may only be NULL
|
||||
* if FPRLEN is 0. */
|
||||
|
@ -624,7 +624,7 @@ maybe_flush_some_key_buckets (unsigned int hash, unsigned int count)
|
|||
}
|
||||
|
||||
|
||||
/* Thsi is the core of
|
||||
/* This is the core of
|
||||
* key_table_put,
|
||||
* key_table_put_no_fpr,
|
||||
* key_table_put_no_kid.
|
||||
|
@ -680,7 +680,7 @@ do_key_table_put (u32 kid_h, u32 kid_l,
|
|||
/* If the bucket is full remove a couple of items. */
|
||||
if (maybe_flush_some_key_buckets (hash, count))
|
||||
{
|
||||
/* During the fucntion call another thread might have changed
|
||||
/* During the function call another thread might have changed
|
||||
* the bucket. Thus we need to start over. */
|
||||
do_find_again = 1;
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ create_keybox (const char *filename)
|
|||
|
||||
/* Make sure that at least one record is in a new keybox file, so
|
||||
* that the detection magic will work the next time it is used.
|
||||
* We always set the OpenPGP blobs maybe availabale flag. */
|
||||
* We always set the OpenPGP blobs maybe available flag. */
|
||||
fp = es_fopen (filename, "w+b,mode=-rw-------");
|
||||
if (!fp)
|
||||
{
|
||||
|
|
|
@ -107,7 +107,7 @@ static struct
|
|||
/* The actual data; either X.509 certificates or OpenPGP
|
||||
* keyblocks. */
|
||||
{ "CREATE TABLE IF NOT EXISTS pubkey ("
|
||||
/* The 20 octet truncted primary-fpr */
|
||||
/* The 20 octet truncated primary-fpr */
|
||||
"ubid BLOB NOT NULL PRIMARY KEY,"
|
||||
/* The type of the public key: 1 = openpgp, 2 = X.509. */
|
||||
"type INTEGER NOT NULL,"
|
||||
|
@ -486,7 +486,7 @@ run_sql_statement (const char *sqlstr)
|
|||
}
|
||||
|
||||
|
||||
/* Create and intitialize a new SQL database file if it does not
|
||||
/* Create and initialize a new SQL database file if it does not
|
||||
* exists; else open it and check that all required objects are
|
||||
* available. */
|
||||
static gpg_error_t
|
||||
|
@ -1085,7 +1085,7 @@ store_into_userid (const unsigned char *ubid, enum pubkey_types pktype,
|
|||
}
|
||||
|
||||
|
||||
/* Store (BLOB,BLOBLEN) into the database. UBID is the UBID macthing
|
||||
/* Store (BLOB,BLOBLEN) into the database. UBID is the UBID matching
|
||||
* that blob. BACKEND_HD is the handle for this backend and REQUEST
|
||||
* is the current database request object. MODE is the store
|
||||
* mode. */
|
||||
|
|
|
@ -30,7 +30,7 @@ typedef struct keybox_handle *KEYBOX_HANDLE;
|
|||
/* The types of the backends. */
|
||||
enum database_types
|
||||
{
|
||||
DB_TYPE_NONE, /* No database at all (unitialized etc.). */
|
||||
DB_TYPE_NONE, /* No database at all (uninitialized etc.). */
|
||||
DB_TYPE_CACHE, /* The cache backend (backend-cache.c). */
|
||||
DB_TYPE_KBX, /* Keybox type database (backend-kbx.c). */
|
||||
DB_TYPE_SQLITE /* SQLite type database (backend-sqlite.c).*/
|
||||
|
|
|
@ -223,7 +223,7 @@ kbxd_search (ctrl_t ctrl, KEYDB_SEARCH_DESC *desc, unsigned int ndesc,
|
|||
}
|
||||
|
||||
/* If requested do a reset. Using the reset flag is faster than
|
||||
* letting the caller do a separate call for an intial reset. */
|
||||
* letting the caller do a separate call for an initial reset. */
|
||||
if (!desc || reset)
|
||||
{
|
||||
switch (the_database.db_type)
|
||||
|
|
|
@ -406,7 +406,7 @@ cmd_search (assuan_context_t ctx, char *line)
|
|||
static const char hlp_next[] =
|
||||
"NEXT [--no-data]\n"
|
||||
"\n"
|
||||
"Get the next search result from a previus search.";
|
||||
"Get the next search result from a previous search.";
|
||||
static gpg_error_t
|
||||
cmd_next (assuan_context_t ctx, char *line)
|
||||
{
|
||||
|
|
|
@ -759,7 +759,7 @@ _keybox_create_openpgp_blob (KEYBOXBLOB *r_blob,
|
|||
|
||||
|
||||
/* Check whether we need a blob with 32 bit fingerprints. We could
|
||||
* use this always but for backward compatiblity we do this only for
|
||||
* use this always but for backward compatibility we do this only for
|
||||
* v5 keys. */
|
||||
if (info->primary.version == 5)
|
||||
need_fpr32 = 1;
|
||||
|
|
|
@ -917,7 +917,7 @@ keybox_search (KEYBOX_HANDLE hd, KEYBOX_SEARCH_DESC *desc, size_t ndesc,
|
|||
if (!hd)
|
||||
return gpg_error (GPG_ERR_INV_VALUE);
|
||||
|
||||
/* Clear last found result but reord the offset of the last found
|
||||
/* Clear last found result but record the offset of the last found
|
||||
* blob which we may need later. */
|
||||
if (hd->found.blob)
|
||||
{
|
||||
|
|
|
@ -391,7 +391,7 @@ parse_rereadable_options (ARGPARSE_ARGS *pargs, int reread)
|
|||
|
||||
case oLogFile:
|
||||
if (!reread)
|
||||
return 0; /* not handeld */
|
||||
return 0; /* not handled */
|
||||
if (!current_logfile || !pargs->r.ret_str
|
||||
|| strcmp (current_logfile, pargs->r.ret_str))
|
||||
{
|
||||
|
@ -1018,7 +1018,7 @@ kbxd_deinit_default_ctrl (ctrl_t ctrl)
|
|||
* Fixme: Due to the way the argument parsing works, we create a
|
||||
* memory leak here for all string type arguments. There is currently
|
||||
* no clean way to tell whether the memory for the argument has been
|
||||
* allocated or points into the process' original arguments. Unless
|
||||
* allocated or points into the process's original arguments. Unless
|
||||
* we have a mechanism to tell this, we need to live on with this. */
|
||||
static void
|
||||
reread_configuration (void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue