gpg: Split key cleaning function for clarity.
authorWerner Koch <wk@gnupg.org>
Fri, 6 Jul 2018 09:48:38 +0000 (11:48 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 9 Jul 2018 06:15:50 +0000 (08:15 +0200)
commit6c3567196f7e72552f326ce07dccbcce31926e5d
tree1e89d26e8f278c278eefaa379122e8a0b04b7f0e
parent135e46ea480d749b8a9692f71d4d0bfdadd8ee2f
gpg: Split key cleaning function for clarity.

* g10/key-clean.c (clean_key): Rename to clean_all_uids and split
subkey cleaning into ...
(clean_all_subkeys): new.  Call that always after the former clean_key
invocations.
--

Note that the clean_all_subkeys function will later be extended.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/export.c
g10/import.c
g10/key-clean.c
g10/key-clean.h