aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-07-24 12:12:37 +0000
committerWerner Koch <[email protected]>2025-07-24 12:15:08 +0000
commite3cc410003a91e7ab4c267e1285c0c4c57775be9 (patch)
treeb7e3a38721ce846352ce76bf4d277f5972eaa6ac /g10/mainproc.c
parentgpgsm: Fix caching of the trustlist's flags. (diff)
downloadgnupg-e3cc410003a91e7ab4c267e1285c0c4c57775be9.tar.gz
gnupg-e3cc410003a91e7ab4c267e1285c0c4c57775be9.zip
gpgv: New option --print-notation.
* g10/keylist.c (print_matching_notations): New. * g10/mainproc.c (check_sig_and_print): Call this. * g10/options.h (opt): Add field print_notations. * g10/gpgv.c (oPrintNotation): New. (opts): Add "print-notation". (main): Implement. -- I had the code floating around but can't remember what triggered me to write this. But it might eventually be useful, so better apply it.
Diffstat (limited to 'g10/mainproc.c')
-rw-r--r--g10/mainproc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index 22d12799d..5a7961099 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -2497,6 +2497,7 @@ check_sig_and_print (CTX c, kbnode_t node)
));
else
show_notation (sig, 0, 2, 0);
+ print_matching_notations (sig);
}
/* Fill PKSTRBUF with the algostring in case we later need it. */