gpg: Remove multiple subkey bindings during export-clean.
authorWerner Koch <wk@gnupg.org>
Mon, 9 Jul 2018 10:01:02 +0000 (12:01 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 9 Jul 2018 10:07:24 +0000 (12:07 +0200)
commit61562fe00027a4263f53661ad279072bd0b0133e
tree84a99216dab140b334f0d9c4645c5d9aeedd2db8
parent8055f186a32e628028de897b7ee4705cd8e999b7
gpg: Remove multiple subkey bindings during export-clean.

* g10/key-clean.c (clean_one_subkey_dupsigs): New.
(clean_all_subkeys): Call it.
--

GnuPG-bug-id: 3804
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 76989d5bd89ed11f5b3656dc4748fcfc939a46dc)
g10/key-clean.c