mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
2006-05-19 Marcus Brinkmann <marcus@g10code.de>
* keydb.c (keydb_insert_cert): Do not lock here, but only check if it is locked. (keydb_store_cert): Lock here. * keydb.h (keydb_delete): Accept new argument UNLOCK. * keydb.c (keydb_delete): Likewise. Only unlock if this is set. * delete.c (delete_one): Add new argument to invocation of keydb_delete.
This commit is contained in:
parent
61756ae3a7
commit
11544e7184
4 changed files with 22 additions and 7 deletions
|
@ -124,7 +124,7 @@ delete_one (CTRL ctrl, const char *username)
|
|||
goto leave;
|
||||
}
|
||||
|
||||
rc = keydb_delete (kh);
|
||||
rc = keydb_delete (kh, duplicates ? 0 : 1);
|
||||
if (rc)
|
||||
goto leave;
|
||||
if (opt.verbose)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue