From: Tobias Brunner Date: Fri, 20 Aug 2021 08:45:44 +0000 (+0200) Subject: configure: Enforce tss-tss2 if tpm plugin is enabled X-Git-Tag: 5.9.4dr1~2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=6c1210dcf6fed8cdea2fb4b01d3a7cdd335e6a0f;p=thirdparty%2Fstrongswan.git configure: Enforce tss-tss2 if tpm plugin is enabled The plugin is useless without a TSS 2.0 and this is currently the only one. --- diff --git a/configure.ac b/configure.ac index a72faeb08c..e334b6839f 100644 --- a/configure.ac +++ b/configure.ac @@ -216,7 +216,7 @@ ARG_ENABL_SET([ext-auth], [enable plugin calling an external authorization ARG_ENABL_SET([ipseckey], [enable IPSECKEY authentication plugin.]) ARG_ENABL_SET([keychain], [enables OS X Keychain Services credential set.]) ARG_ENABL_SET([pkcs11], [enables the PKCS11 token support plugin.]) -ARG_ENABL_SET([tpm], [enables the TPM plugin.]) +ARG_ENABL_SET([tpm], [enables the TPM plugin to access private keys and certificates bound to a TPM 2.0.]) ARG_DISBL_SET([revocation], [disable X509 CRL/OCSP revocation check plugin.]) ARG_ENABL_SET([whitelist], [enable peer identity whitelisting plugin.]) ARG_DISBL_SET([xauth-generic], [disable generic XAuth backend.]) @@ -500,6 +500,10 @@ if test x$aikgen = xtrue; then tss_trousers=true fi +if test x$tpm = xtrue; then + tss_tss2=true +fi + if test x$gmp = xtrue -o x$ntru = xtrue -o x$bliss = xtrue; then mgf1=true fi