agent, tests: Support --disable-scdaemon build case.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 26 Oct 2017 02:24:39 +0000 (11:24 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 26 Oct 2017 02:39:49 +0000 (11:39 +0900)
commit05cb87276c21c3a47226c75026fa46a955553dd9
tree2603f9a046c99747b3aed12efdf8c274f2b23f13
parentb13972dfbf7224478652038725ab0d2cb41b7303
agent, tests: Support --disable-scdaemon build case.

* agent/command.c (cmd_scd): Support !BUILD_WITH_SCDAEMON.
* tests/openpgp/defs.scm (create-gpghome): Likewise.
* tests/gpgsm/gpgsm-defs.scm (create-gpgsmhome): Likewise.

--

We could modify gpg-agent to remove all support of scdaemon, with no
inclusion of call-scd.c, divert-scd.c, and learncard.c, but it would
not be worth to do that.

GnuPG-bug-id: 3316
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
agent/command.c
tests/gpgsm/gpgsm-defs.scm
tests/openpgp/defs.scm