aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyedit.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-05-05 02:40:27 +0000
committerDavid Shaw <[email protected]>2004-05-05 02:40:27 +0000
commitf106448a7dd1b03dd5cd60efd250f51595a0b9a9 (patch)
tree4feedc03fb238de8ea236bb09b48ea3d135ec459 /g10/keyedit.c
parentRemoved reference to non-available option (diff)
downloadgnupg-f106448a7dd1b03dd5cd60efd250f51595a0b9a9.tar.gz
gnupg-f106448a7dd1b03dd5cd60efd250f51595a0b9a9.zip
* keylist.c (show_notation): Use bits to select which sort of notation to
show. Don't allow a not-shown notation to prevent us from issuing the proper --status-fd message. * options.h, g10.c (main): Add show-std/standard-notations and show-user-notations. show-notations is both. Default is to show standard notations only during verify. Change all callers.
Diffstat (limited to '')
-rw-r--r--g10/keyedit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c
index ad7716296..0381dc731 100644
--- a/g10/keyedit.c
+++ b/g10/keyedit.c
@@ -170,7 +170,9 @@ print_and_check_one_sig( KBNODE keyblock, KBNODE node,
show_policy_url(sig,3,0);
if(sig->flags.notation && (opt.list_options&LIST_SHOW_NOTATIONS))
- show_notation(sig,3,0,0);
+ show_notation(sig,3,0,
+ ((opt.list_options&LIST_SHOW_STD_NOTATIONS)?1:0)+
+ ((opt.list_options&LIST_SHOW_USER_NOTATIONS)?2:0));
if(sig->flags.pref_ks && (opt.list_options&LIST_SHOW_KEYSERVER_URLS))
show_keyserver_url(sig,3,0);