]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
configure: Enforce tss-tss2 if tpm plugin is enabled
authorTobias Brunner <tobias@strongswan.org>
Fri, 20 Aug 2021 08:45:44 +0000 (10:45 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 20 Aug 2021 08:45:44 +0000 (10:45 +0200)
The plugin is useless without a TSS 2.0 and this is currently the only one.

configure.ac

index a72faeb08c3fa6c2101e997c540eef77652b2c7e..e334b6839f89bc5f3d355dec1b35094ca99c4897 100644 (file)
@@ -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