diff options
author | Werner Koch <wk@gnupg.org> | 2023-01-20 09:00:31 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2023-01-20 09:00:31 +0100 |
commit | 33b6ee5047c8992fe65c494313b6c0f468969188 (patch) | |
tree | 76cc68ce971cd782781c57bb4f9e290d84d9b6c5 /tools/gpg-wks.h | |
parent | doc: Revert last change the gpg --unwrap description (diff) | |
download | gnupg2-33b6ee5047c8992fe65c494313b6c0f468969188.tar.xz gnupg2-33b6ee5047c8992fe65c494313b6c0f468969188.zip |
wkd: Support option --output for command --check.
* tools/wks-util.c (write_to_file): Rename to ...
(wks_write_to_file): this, make global, and support NULL for fname.
* tools/gpg-wks-client.c (command_check): Write to key.
Diffstat (limited to 'tools/gpg-wks.h')
-rw-r--r-- | tools/gpg-wks.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpg-wks.h b/tools/gpg-wks.h index a7c17ca52..93039c1e8 100644 --- a/tools/gpg-wks.h +++ b/tools/gpg-wks.h @@ -106,6 +106,7 @@ gpg_error_t wks_send_mime (mime_maker_t mime); gpg_error_t wks_parse_policy (policy_flags_t flags, estream_t stream, int ignore_unknown); void wks_free_policy (policy_flags_t policy); +gpg_error_t wks_write_to_file (estream_t src, const char *fname); gpg_error_t wks_fname_from_userid (const char *userid, int hash_only, char **r_fname, char **r_addrspec); |