aboutsummaryrefslogtreecommitdiffstats
path: root/agent/cache.c
diff options
context:
space:
mode:
authorJames Bottomley <[email protected]>2018-03-06 23:02:43 +0000
committerWerner Koch <[email protected]>2018-03-12 09:06:44 +0000
commit06c0d7f28fa1842f9c52885b142a0d31ba60c8ae (patch)
treef4e1a63565fc0946f4c73a459fcf86f66e405b23 /agent/cache.c
parentagent: Minor cleanup of the TPM patches. (diff)
downloadgnupg-tpm-work.tar.gz
gnupg-tpm-work.zip
build: Make TPM2 support conditionaltpm-work
* configure.ac (HAVE_LIBTSS): New acdefine and am_conditional. * agent/Makefile.am: (gpg_agent_SOURCES): Move tpm files to ... (gpg_agent_SOURCES) [HAVE_LIBTSS]: ... here. * agent/agent.h (divert_tpm2_pksign, divert_tpm2_pkdecrypt) (divert_tpm2_writekey) [!HAVE_LIBTSS]: Add stub functions. -- This adds a configure stanza to check for the necessary libtss to support TPM functions. If found, the library functions will be dynamically loaded, meaning that a system built with TPM2 support will still execute correctly (obviously minus TPM2 support) if installed without libtss being present. Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'agent/cache.c')
0 files changed, 0 insertions, 0 deletions