aboutsummaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-03-12 17:01:24 +0000
committerWerner Koch <[email protected]>2024-03-12 17:01:24 +0000
commit14c1b73093e3fcbc43b04dfc520eb35d61241489 (patch)
treea62908e140c613c1834d7f2b3d3c18fb322a092f /g10/options.h
parentcard: Use xstrdup for module names. (diff)
downloadgnupg-14c1b73093e3fcbc43b04dfc520eb35d61241489.tar.gz
gnupg-14c1b73093e3fcbc43b04dfc520eb35d61241489.zip
gpg: new list-option show-x509-notations
* g10/gpg.c (parse_list_options): Add new option. * g10/options.h (LIST_SHOW_X509_NOTATIONS): New. * g10/build-packet.c (search_sig_notations): New. * g10/keylist.c (print_x509_notations): New. (list_signature_print): Use macros for the sig classes. Call print_x509_notations. (list_keyblock_print): Call list_signature_print if x509 notation printing is enabled.
Diffstat (limited to 'g10/options.h')
-rw-r--r--g10/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h
index 476c30ad5..e4303a801 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -444,6 +444,7 @@ EXTERN_UNLESS_MAIN_MODULE int memory_stat_debug_mode;
#define LIST_SHOW_PREF (1<<14)
#define LIST_SHOW_PREF_VERBOSE (1<<15)
#define LIST_SHOW_UNUSABLE_SIGS (1<<16)
+#define LIST_SHOW_X509_NOTATIONS (1<<17)
#define VERIFY_SHOW_PHOTOS (1<<0)
#define VERIFY_SHOW_POLICY_URLS (1<<1)