From 0a9827ca07f29a3b5d78a4efc7291c40b62b63dd Mon Sep 17 00:00:00 2001 From: David Shaw Date: Tue, 31 May 2005 03:59:24 +0000 Subject: * 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/trustdb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'g10/trustdb.h') diff --git a/g10/trustdb.h b/g10/trustdb.h index b914063b1..1e1929400 100644 --- a/g10/trustdb.h +++ b/g10/trustdb.h @@ -83,6 +83,7 @@ int clear_ownertrusts (PKT_public_key *pk); int clean_sigs_from_uid(KBNODE keyblock,KBNODE uidnode,int noisy); int clean_uids_from_key(KBNODE keyblock,int noisy); +int clean_subkeys_from_key(KBNODE keyblock,int noisy); /*-- tdbdump.c --*/ void list_trustdb(const char *username); -- cgit v1.2.3