aboutsummaryrefslogtreecommitdiffstats
path: root/common/get-passphrase.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-06-07 11:09:00 +0000
committerWerner Koch <[email protected]>2016-06-07 11:09:00 +0000
commitfb88f37c40dc156fa0b5bfba4ac85f1e553fd7e9 (patch)
treef5e93187b6c33831bf34e7fd682787e78fdcda14 /common/get-passphrase.c
parentReplace use of opt.homedir by accessor functions. (diff)
downloadgnupg-fb88f37c40dc156fa0b5bfba4ac85f1e553fd7e9.tar.gz
gnupg-fb88f37c40dc156fa0b5bfba4ac85f1e553fd7e9.zip
common: Remove homedir arg from start_new_{dirmngr,gpg_agent}.
* common/asshelp.c (start_new_gpg_agent): Remove arg 'homedir' in favor of gnupg_homedir (). Change all callers. (start_new_dirmngr): Ditto. * common/get-passphrase.c (gnupg_prepare_get_passphrase): Remove arg 'homedir'. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/get-passphrase.c')
-rw-r--r--common/get-passphrase.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/get-passphrase.c b/common/get-passphrase.c
index f1517fbfa..8f3137b85 100644
--- a/common/get-passphrase.c
+++ b/common/get-passphrase.c
@@ -47,7 +47,6 @@ static struct
{
gpg_err_source_t errsource;
int verbosity;
- const char *homedir;
const char *agent_program;
const char *lc_ctype;
const char *lc_messages;
@@ -62,7 +61,6 @@ static struct
void
gnupg_prepare_get_passphrase (gpg_err_source_t errsource,
int verbosity,
- const char *homedir,
const char *agent_program,
const char *opt_lc_ctype,
const char *opt_lc_messages,
@@ -70,7 +68,6 @@ gnupg_prepare_get_passphrase (gpg_err_source_t errsource,
{
agentargs.errsource = errsource;
agentargs.verbosity = verbosity;
- agentargs.homedir = homedir;
agentargs.agent_program = agent_program;
agentargs.lc_ctype = opt_lc_ctype;
agentargs.lc_messages = opt_lc_messages;
@@ -93,7 +90,6 @@ start_agent (void)
err = start_new_gpg_agent (&agent_ctx,
agentargs.errsource,
- agentargs.homedir,
agentargs.agent_program,
agentargs.lc_ctype,
agentargs.lc_messages,