aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-wks.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-02-27 09:35:46 +0000
committerWerner Koch <[email protected]>2024-02-27 09:36:22 +0000
commit962058f704867082d6d00f6467a79c78e41169ca (patch)
tree4cdb21422cdd037add8db508644ac39483cc8264 /tools/gpg-wks.h
parentagent: Allow GET_PASSPHRASE in restricted mode. (diff)
downloadgnupg-962058f704867082d6d00f6467a79c78e41169ca.tar.gz
gnupg-962058f704867082d6d00f6467a79c78e41169ca.zip
Allow tilde expansion for the foo-program options.
* agent/gpg-agent.c (parse_rereadable_options): Use make_filename_try for opt.pinentry_program. Change definition accordingly. * g10/gpg.c (main): Use make_filename for agent_program, dirmngr_program, and keyboxd_program. Change definition accordingly. * sm/gpgsm.c (main): Ditto. * tools/gpg-card.c (parse_arguments): Ditto. * tools/gpg-connect-agent.c (main): Ditto. * tools/gpg-wks-client.c (parse_arguments): Likewise. Do it also for option --output. (process_confirmation_request): Print a note for a successful sent. -- GnuPG-bug-id: 7017
Diffstat (limited to 'tools/gpg-wks.h')
-rw-r--r--tools/gpg-wks.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gpg-wks.h b/tools/gpg-wks.h
index 93039c1e8..4a33c5bec 100644
--- a/tools/gpg-wks.h
+++ b/tools/gpg-wks.h
@@ -40,9 +40,9 @@ struct
int with_colons;
int no_autostart;
int add_revocs;
- const char *output;
- const char *gpg_program;
- const char *directory;
+ char *output;
+ char *gpg_program;
+ char *directory;
const char *default_from;
strlist_t extra_headers;
} opt;