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:24:39 +0000 (11:24 +0900)
commitbf26c08b95389718ba07f12789d372c6f438134f
tree29520e73985815c25c0f521d3a7daa8ff65c5f04
parent3549dce4f5a726f5350ac2f20d83ba9f84cc23b4
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