aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-06-17 06:36:07 +0000
committerNIIBE Yutaka <[email protected]>2016-11-29 08:10:33 +0000
commitf916d5756fae163896715b057a627a5fb58ddd52 (patch)
tree268d73f66ebe96cadfd8d340b05deaeb6478216e
parentscd: More fix of error return path. (diff)
downloadgnupg-f916d5756fae163896715b057a627a5fb58ddd52.tar.gz
gnupg-f916d5756fae163896715b057a627a5fb58ddd52.zip
scd: Make option --homedir work.
* scd/scdaemon.c (opts): Add --homedir. -- Backport of master commit: def512eb67c8a380f3b873cee0f156deef0b6dda Without that entry the homedir setting won't work. GnuPG-bug-id: 2386 Signed-off-by: Werner Koch <[email protected]>
-rw-r--r--scd/scdaemon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index e133ddc07..89b4e0ef5 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -150,6 +150,7 @@ static ARGPARSE_OPTS opts[] = {
ARGPARSE_s_s (oDisableApplication, "disable-application", "@"),
ARGPARSE_s_n (oEnablePinpadVarlen, "enable-pinpad-varlen",
N_("use variable length input for pinpad")),
+ ARGPARSE_s_s (oHomedir, "homedir", "@"),
ARGPARSE_end ()
};