aboutsummaryrefslogtreecommitdiffstats
path: root/g10/packet.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-04-15 00:30:05 +0000
committerDavid Shaw <[email protected]>2004-04-15 00:30:05 +0000
commit8c4607568d9fde6a13320a2b53e333e58aefaec8 (patch)
treec706d2b346a72086e220bb4ffed77bb19dd87ac4 /g10/packet.h
parent* options.h, import.c, keyserver-internal.h, g10.c, mainproc.c, (diff)
downloadgnupg-8c4607568d9fde6a13320a2b53e333e58aefaec8.tar.gz
gnupg-8c4607568d9fde6a13320a2b53e333e58aefaec8.zip
* packet.h, getkey.c (fixup_uidnode, merge_selfsigs_subkey): Keep track of
which self-sig we actually chose. * keyedit.c (menu_expire, menu_set_primary_uid, menu_set_preferences): Use it here to avoid updating non-used self-sigs and possibly promoting an old self-sig into consideration again.
Diffstat (limited to '')
-rw-r--r--g10/packet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/packet.h b/g10/packet.h
index c6e8c0403..8d018e079 100644
--- a/g10/packet.h
+++ b/g10/packet.h
@@ -125,6 +125,7 @@ typedef struct {
struct {
unsigned checked:1; /* signature has been checked */
unsigned valid:1; /* signature is good (if checked is set) */
+ unsigned chosen_selfsig:1; /* a selfsig that is the chosen one */
unsigned unknown_critical:1;
unsigned exportable:1;
unsigned revocable:1;