summaryrefslogtreecommitdiffstats
path: root/g10/trustdb.h
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2005-11-10 22:18:49 +0100
committerDavid Shaw <dshaw@jabberwocky.com>2005-11-10 22:18:49 +0100
commitdebc169f8858f3066a6cce7d04614a4ac927e2b1 (patch)
treefd2209037edc8e9524c89979b135a6be3b777cf2 /g10/trustdb.h
parent* options.skel: Add a section for --encrypt-to. This is Debian bug (diff)
downloadgnupg2-debc169f8858f3066a6cce7d04614a4ac927e2b1.tar.xz
gnupg2-debc169f8858f3066a6cce7d04614a4ac927e2b1.zip
* trustdb.h, trustdb.c (clean_sigs_from_uid): Add flag to remove all
non-selfsigs from key during cleaning. Change all callers. * export.c (do_export_stream): Use it here so we don't need additional minimize code in the export path.
Diffstat (limited to 'g10/trustdb.h')
-rw-r--r--g10/trustdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/trustdb.h b/g10/trustdb.h
index b9dae3578..e75e7f83c 100644
--- a/g10/trustdb.h
+++ b/g10/trustdb.h
@@ -82,7 +82,7 @@ const char *get_ownertrust_string (PKT_public_key *pk);
void update_ownertrust (PKT_public_key *pk, unsigned int new_trust );
int clear_ownertrusts (PKT_public_key *pk);
-int clean_sigs_from_uid(KBNODE keyblock,KBNODE uidnode,int noisy);
+int clean_sigs_from_uid(KBNODE keyblock,KBNODE uidnode,int noisy,int self_only);
int clean_uids_from_key(KBNODE keyblock,int noisy);
/*-- tdbdump.c --*/