aboutsummaryrefslogtreecommitdiffstats
path: root/g10/packet.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-08-29 07:36:09 +0000
committerWerner Koch <[email protected]>2018-08-29 07:36:44 +0000
commita59a9962f48f828ea7d22362dfa6d82841551110 (patch)
tree21e57cb41e18b984df80ca76604aedad6f10b5ae /g10/packet.h
parentpo: Update Russian translation. (diff)
downloadgnupg-a59a9962f48f828ea7d22362dfa6d82841551110.tar.gz
gnupg-a59a9962f48f828ea7d22362dfa6d82841551110.zip
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 <[email protected]> (cherry picked from commit 3da835713fb6220112d988e1953f3d84beabbf6a)
Diffstat (limited to 'g10/packet.h')
-rw-r--r--g10/packet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/packet.h b/g10/packet.h
index e76e6af4e..6d01b10b5 100644
--- a/g10/packet.h
+++ b/g10/packet.h
@@ -610,6 +610,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: