From e3a1e80d13487c9336640a99b2f6d385d7d6f55c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 5 Nov 2018 20:58:27 +0100 Subject: wks: New option --with-colons for gpg-wks-client. * tools/gpg-wks.h (opt): Add field with_colons. * tools/gpg-wks-client.c (oWithColons): New const. (opts, parse_arguments): Add option --with-colons. (main): Change aSupported to take several domains in --with-colons mode. (command_send): Factor policy getting code out to ... (get_policy_and_sa): New function. (command_supported): Make use of new function. -- In addition to this the --create command now also supports a submission address only in the policy file. That means the submission-address file is not anymore required and can be replaced by the policy file. Signed-off-by: Werner Koch --- tools/wks-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/wks-util.c') diff --git a/tools/wks-util.c b/tools/wks-util.c index 862cd33a3..729098a02 100644 --- a/tools/wks-util.c +++ b/tools/wks-util.c @@ -556,7 +556,7 @@ wks_send_mime (mime_maker_t mime) /* Parse the policy flags by reading them from STREAM and storing them - * into FLAGS. If IGNORE_UNKNOWN is iset unknown keywords are + * into FLAGS. If IGNORE_UNKNOWN is set unknown keywords are * ignored. */ gpg_error_t wks_parse_policy (policy_flags_t flags, estream_t stream, int ignore_unknown) -- cgit v1.2.3