gnutls: optionally disable tpm support

Add option that allows you to explicitly disable use of the tpm
otherwise if a tss stack such as trousers is found by gnutls build
system then it will use it which will cause a build failure when
PKCS11 support is not enabled.

Signed-off-by: Ian Pozella <Ian.Pozella@imgtec.com>
This commit is contained in:
Ian Pozella
2016-09-01 17:13:35 +01:00
parent c25e6df2f5
commit e1b0adf5f2
2 changed files with 16 additions and 1 deletions
+5
View File
@@ -39,6 +39,11 @@ config GNUTLS_ANON
bool "enable anonymous authentication support"
default y
config GNUTLS_TPM
bool "enable tpm support"
select GNUTLS_PKCS11
default n
config GNUTLS_PKCS11
bool "enable smart card (PKCS11) support"
select GNUTLS_EXT_LIBTASN1