mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* 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.
This commit is contained in:
parent
0bfa710643
commit
f106448a7d
6 changed files with 75 additions and 47 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue