aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-wks.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-09-12 16:05:00 +0000
committerWerner Koch <[email protected]>2017-09-12 16:05:00 +0000
commit332c9eaa2a3c7cae90b389cdaa2c149c5595fb4d (patch)
tree82538c24fdccb7a5fcace2e1898cacd3f91b778d /tools/gpg-wks.h
parentgpg: Fix "Fix key generation with only an email part". (diff)
downloadgnupg-332c9eaa2a3c7cae90b389cdaa2c149c5595fb4d.tar.gz
gnupg-332c9eaa2a3c7cae90b389cdaa2c149c5595fb4d.zip
wks: Add new policy flag protocol-version
* tools/gpg-wks.h (policy_flags_s): Add field protocol_version. * tools/wks-util.c (wks_parse_policy): Add new policy flag. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'tools/gpg-wks.h')
-rw-r--r--tools/gpg-wks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpg-wks.h b/tools/gpg-wks.h
index f73c183e0..caea98e2f 100644
--- a/tools/gpg-wks.h
+++ b/tools/gpg-wks.h
@@ -63,6 +63,7 @@ struct policy_flags_s
unsigned int mailbox_only : 1;
unsigned int dane_only : 1;
unsigned int auth_submit : 1;
+ unsigned int protocol_version; /* The supported WKS_DRAFT_VERION or 0 */
unsigned int max_pending; /* Seconds to wait for a confirmation. */
};
typedef struct policy_flags_s *policy_flags_t;