diff options
| author | NIIBE Yutaka <[email protected]> | 2017-10-26 02:24:39 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2017-10-26 02:24:39 +0000 |
| commit | bf26c08b95389718ba07f12789d372c6f438134f (patch) | |
| tree | 29520e73985815c25c0f521d3a7daa8ff65c5f04 /tests/openpgp/defs.scm | |
| parent | Fix comment of configure. (diff) | |
| download | gnupg-bf26c08b95389718ba07f12789d372c6f438134f.tar.gz gnupg-bf26c08b95389718ba07f12789d372c6f438134f.zip | |
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 <[email protected]>
Diffstat (limited to 'tests/openpgp/defs.scm')
| -rw-r--r-- | tests/openpgp/defs.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/openpgp/defs.scm b/tests/openpgp/defs.scm index f52f31614..a6347fe1f 100644 --- a/tests/openpgp/defs.scm +++ b/tests/openpgp/defs.scm @@ -354,7 +354,9 @@ (if (flag "--extended-key-format" *args*) "enable-extended-key-format" "#enable-extended-key-format") (string-append "pinentry-program " (tool 'pinentry)) - (string-append "scdaemon-program " (tool 'scdaemon)) + (if (assoc "scdaemon" gpg-components) + (string-append "scdaemon-program " (tool 'scdaemon)) + "# No scdaemon available") )) ;; Initialize the test environment, install appropriate configuration |
