From 33b6ee5047c8992fe65c494313b6c0f468969188 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 20 Jan 2023 09:00:31 +0100 Subject: 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. --- tools/gpg-wks.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/gpg-wks.h') 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); -- cgit v1.2.3