diff options
author | Werner Koch <wk@gnupg.org> | 2017-01-17 10:26:34 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-01-17 10:26:34 +0100 |
commit | 356323768a1a29138581d0aceed0336ab8be0d5c (patch) | |
tree | 1b786bd86924ea36450a37395cfc2665672139d8 /g10/export.c | |
parent | gpg: Sync print of additional sig data in --edit-key. (diff) | |
download | gnupg2-356323768a1a29138581d0aceed0336ab8be0d5c.tar.xz gnupg2-356323768a1a29138581d0aceed0336ab8be0d5c.zip |
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>
Diffstat (limited to 'g10/export.c')
-rw-r--r-- | g10/export.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/export.c b/g10/export.c index ad42b41b5..b36200ac0 100644 --- a/g10/export.c +++ b/g10/export.c @@ -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) |