From 3da835713fb6220112d988e1953f3d84beabbf6a Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 29 Aug 2018 09:36:09 +0200 Subject: gpg: New option --known-notation. * g10/gpg.c (oKnownNotation): New const. (opts): Add option --known-notation. (main): Set option. * g10/parse-packet.c (known_notations_list): New local var. (register_known_notation): New. (can_handle_critical_notation): Rewrite to handle the new feature. Also print the name of unknown notations in verbose mode. -- GnuPG-bug-id: 4060 Signed-off-by: Werner Koch --- g10/packet.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'g10/packet.h') diff --git a/g10/packet.h b/g10/packet.h index 3f872944b..6e1438be6 100644 --- a/g10/packet.h +++ b/g10/packet.h @@ -636,6 +636,9 @@ char *issuer_fpr_string (PKT_signature *sig); /*-- parse-packet.c --*/ + +void register_known_notation (const char *string); + /* Sets the packet list mode to MODE (i.e., whether we are dumping a packet or not). Returns the current mode. This allows for temporarily suspending dumping by doing the following: -- cgit v1.2.3