aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trustdb.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2005-05-31 03:59:24 +0000
committerDavid Shaw <[email protected]>2005-05-31 03:59:24 +0000
commit0a9827ca07f29a3b5d78a4efc7291c40b62b63dd (patch)
tree951d47f72031094198c5f292ef29079ea7ba8234 /g10/trustdb.h
parent* strgutil.c (set_native_charset) [_WIN32]: Add alias for codepage (diff)
downloadgnupg-0a9827ca07f29a3b5d78a4efc7291c40b62b63dd.tar.gz
gnupg-0a9827ca07f29a3b5d78a4efc7291c40b62b63dd.zip
* 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.
Diffstat (limited to 'g10/trustdb.h')
-rw-r--r--g10/trustdb.h1
1 files changed, 1 insertions, 0 deletions
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);