scd: Make option --homedir work.
authorWerner Koch <wk@gnupg.org>
Fri, 17 Jun 2016 06:36:07 +0000 (08:36 +0200)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 29 Nov 2016 08:10:33 +0000 (17:10 +0900)
* 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 <wk@gnupg.org>
scd/scdaemon.c

index e133ddc..89b4e0e 100644 (file)
@@ -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 ()
 };