mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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 <wk@gnupg.org>
(cherry picked from commit e3a1e80d13
)
This commit is contained in:
parent
593895a5e4
commit
66e0bd37ee
4 changed files with 230 additions and 68 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue