wks: Add option --fake-submission-addr to gpg-wks-client.
authorWerner Koch <wk@gnupg.org>
Wed, 5 Oct 2016 09:51:32 +0000 (11:51 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 5 Oct 2016 09:51:32 +0000 (11:51 +0200)
commite514a5b725f0c997cef4362808b2778a3faa9cf8
tree2c82c96464f079bd34a39d5f5a1765e17f6462a2
parent1cedc32c95c2e3c3ab98af23ddc2845d51e596c1
wks: Add option --fake-submission-addr to gpg-wks-client.

* tools/gpg-wks-client.c (oFakeSubmissionAddr): New.
(opts): Add option --fake-submission-addr.
(fake_submission_addr): New variable.
(parse_arguments): Set it.
(command_send): Use --fake-submission-addr.
--

This option is useful for testing.

Signed-off-by: Werner Koch <wk@gnupg.org>
tools/gpg-wks-client.c