diff options
author | David Shaw <[email protected]> | 2005-11-10 22:50:46 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2005-11-10 22:50:46 +0000 |
commit | ce1ce8910e334436bb213fe9f531208b7724dfc5 (patch) | |
tree | 38e3f35dfcba000ff3fbedc7a2dcb2bd21a88443 /g10/keyedit.c | |
parent | * options.h, import.c (parse_import_options, clean_sigs_from_all_uids, (diff) | |
download | gnupg-ce1ce8910e334436bb213fe9f531208b7724dfc5.tar.gz gnupg-ce1ce8910e334436bb213fe9f531208b7724dfc5.zip |
* packet.h: Move some flags to a bitfield. Change all callers.
Diffstat (limited to '')
-rw-r--r-- | g10/keyedit.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c index 18ae1f45c..98d666767 100644 --- a/g10/keyedit.c +++ b/g10/keyedit.c @@ -2350,17 +2350,17 @@ show_prefs (PKT_user_id *uid, PKT_signature *selfsig, int verbose) } tty_printf ("%s",compress_algo_to_string(COMPRESS_ALGO_NONE)); } - if(uid->mdc_feature || !uid->ks_modify) + if(uid->flags.mdc || !uid->flags.ks_modify) { tty_printf ("\n "); tty_printf (_("Features: ")); any=0; - if(uid->mdc_feature) + if(uid->flags.mdc) { tty_printf ("MDC"); any=1; } - if(!uid->ks_modify) + if(!uid->flags.ks_modify) { if(any) tty_printf (", "); @@ -2393,9 +2393,9 @@ show_prefs (PKT_user_id *uid, PKT_signature *selfsig, int verbose) prefs[i].type == PREFTYPE_ZIP ? 'Z':'?', prefs[i].value); } - if (uid->mdc_feature) + if (uid->flags.mdc) tty_printf (" [mdc]"); - if (!uid->ks_modify) + if (!uid->flags.ks_modify) tty_printf (" [no-ks-modify]"); tty_printf("\n"); } @@ -2534,9 +2534,9 @@ show_key_with_all_names_colon (KBNODE keyblock) prefs[j].type == PREFTYPE_ZIP ? 'Z':'?', prefs[j].value); } - if (uid->mdc_feature) + if (uid->flags.mdc) printf (",mdc"); - if (!uid->ks_modify) + if (!uid->flags.ks_modify) printf (",no-ks-modify"); } putchar (':'); |