]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tools: don't compile tpmtool if PKCS11 is disabled
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 1 Dec 2015 09:40:23 +0000 (10:40 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 1 Dec 2015 09:40:25 +0000 (10:40 +0100)
That is because GnuTLS' TPM code makes use of the PKCS11 PIN callbacks.

src/Makefile.am

index b907249c8e9b30843a6380eb57adb09b0ba0abc7..0306af18bdb85c5cb618092175c1ccc96b51aafe 100644 (file)
@@ -66,13 +66,15 @@ if ENABLE_DANE
 bin_PROGRAMS += danetool
 endif
 
+noinst_PROGRAMS = systemkey
+
+if ENABLE_PKCS11
+
+# TPM makes use of PKCS #11 callbacks
 if ENABLE_TROUSERS
 bin_PROGRAMS += tpmtool
 endif
 
-noinst_PROGRAMS = systemkey
-
-if ENABLE_PKCS11
 bin_PROGRAMS += p11tool
 endif