diff options
author | Werner Koch <wk@gnupg.org> | 2024-02-27 10:35:46 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2024-02-27 10:36:22 +0100 |
commit | 962058f704867082d6d00f6467a79c78e41169ca (patch) | |
tree | 4cdb21422cdd037add8db508644ac39483cc8264 /tools/gpg-card.h | |
parent | agent: Allow GET_PASSPHRASE in restricted mode. (diff) | |
download | gnupg2-962058f704867082d6d00f6467a79c78e41169ca.tar.xz gnupg2-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-card.h')
-rw-r--r-- | tools/gpg-card.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gpg-card.h b/tools/gpg-card.h index 5b49ef31e..8d7975ba9 100644 --- a/tools/gpg-card.h +++ b/tools/gpg-card.h @@ -34,9 +34,9 @@ struct unsigned int debug; int quiet; int with_colons; - const char *gpg_program; - const char *gpgsm_program; - const char *agent_program; + char *gpg_program; + char *gpgsm_program; + char *agent_program; int autostart; int no_key_lookup; /* Assume --no-key-lookup for "list". */ |