mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Clean bogus subkey binding when cleaning a key.
* g10/trust.c (clean_key): Also clean bogus subkey bindings. -- GnuPG-bug-id: 2922 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
766c25018b
commit
356323768a
2 changed files with 28 additions and 7 deletions
|
@ -1518,6 +1518,7 @@ do_export_one_keyblock (ctrl_t ctrl, kbnode_t keyblock, u32 *keyid,
|
|||
u32 subkidbuf[2], *subkid;
|
||||
kbnode_t kbctx, node;
|
||||
|
||||
/* NB: walk_kbnode skips packets marked as deleted. */
|
||||
for (kbctx=NULL; (node = walk_kbnode (keyblock, &kbctx, 0)); )
|
||||
{
|
||||
if (skip_until_subkey)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue