aboutsummaryrefslogtreecommitdiffstats
path: root/g10/getkey.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2005-11-10 22:50:46 +0000
committerDavid Shaw <[email protected]>2005-11-10 22:50:46 +0000
commitce1ce8910e334436bb213fe9f531208b7724dfc5 (patch)
tree38e3f35dfcba000ff3fbedc7a2dcb2bd21a88443 /g10/getkey.c
parent* options.h, import.c (parse_import_options, clean_sigs_from_all_uids, (diff)
downloadgnupg-ce1ce8910e334436bb213fe9f531208b7724dfc5.tar.gz
gnupg-ce1ce8910e334436bb213fe9f531208b7724dfc5.zip
* packet.h: Move some flags to a bitfield. Change all callers.
Diffstat (limited to '')
-rw-r--r--g10/getkey.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index 35e74f1d5..48c881b82 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1464,16 +1464,16 @@ fixup_uidnode ( KBNODE uidnode, KBNODE signode, u32 keycreated )
}
/* see whether we have the MDC feature */
- uid->mdc_feature = 0;
+ uid->flags.mdc = 0;
p = parse_sig_subpkt (sig->hashed, SIGSUBPKT_FEATURES, &n);
if (p && n && (p[0] & 0x01))
- uid->mdc_feature = 1;
+ uid->flags.mdc = 1;
/* and the keyserver modify flag */
- uid->ks_modify = 1;
+ uid->flags.ks_modify = 1;
p = parse_sig_subpkt (sig->hashed, SIGSUBPKT_KS_FLAGS, &n);
if (p && n && (p[0] & 0x80))
- uid->ks_modify = 0;
+ uid->flags.ks_modify = 0;
}
static void
@@ -2170,7 +2170,7 @@ merge_selfsigs( KBNODE keyblock )
&& !k->pkt->pkt.user_id->attrib_data
&& k->pkt->pkt.user_id->is_primary) {
prefs = k->pkt->pkt.user_id->prefs;
- mdc_feature = k->pkt->pkt.user_id->mdc_feature;
+ mdc_feature = k->pkt->pkt.user_id->flags.mdc;
break;
}
}