* trustdb.h, trustdb.c (clean_subkeys_from_key): New. Walk through
authorDavid Shaw <dshaw@jabberwocky.com>
Tue, 31 May 2005 03:59:24 +0000 (03:59 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Tue, 31 May 2005 03:59:24 +0000 (03:59 +0000)
commit0a9827ca07f29a3b5d78a4efc7291c40b62b63dd
tree951d47f72031094198c5f292ef29079ea7ba8234
parente5a100c7c66e3fd671b3046be0823e25cd1b6453
* trustdb.h, trustdb.c (clean_subkeys_from_key): New.  Walk through
the subkeys on a key, and mark any that aren't usable for deletion.
Note that a signing subkey is never marked for deletion since these
keys are still useful after expiration or revocation.

* keyedit.c (menu_clean_subkeys_from_key): New function to call
clean_subkeys_from_key() on a key.  Note that the strings here are not
marked for translation yet.  The UI is still in flux, and there is no
point in annoying the translators twice.  (keyedit_menu): Call it here
as part of the "clean" command.
g10/ChangeLog
g10/keyedit.c
g10/trustdb.c
g10/trustdb.h