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 08:24:53 +0000 (10:24 +0200)
commit046276db3a04f1907ddcf77c3771832613918226
tree5ad604a69bd2c38e4144a765d3fb57dd52fe963b
parent40bf383f72b5629de739e30c9c35bbcb628273e8
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>
(cherry picked from commit 6c3567196f7e72552f326ce07dccbcce31926e5d)
g10/export.c
g10/import.c
g10/key-clean.c
g10/key-clean.h