aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilip Tricca <philip.b.tricca@intel.com>2018-01-08 16:52:09 -0800
committerPhilip Tricca <philip.b.tricca@intel.com>2018-01-09 12:19:12 -0500
commit001e8bf2de610d4ccc74eee3267aa316f55a9b53 (patch)
tree37c21caefd166b69e04fd4503e0a8ad896c48f2d /include
parent0bc0ae73ed6bf55b41292be6d221985af482ca70 (diff)
downloadtpm2-tss-001e8bf2de610d4ccc74eee3267aa316f55a9b53.tar.gz
tcti-device: Move TCTI_DEVICE_DEFAULT macro to public header.
Update help string to reference the macro instead of the default device path directly. Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/tcti/tcti_device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tcti/tcti_device.h b/include/tcti/tcti_device.h
index d280aa41..e2c12f82 100644
--- a/include/tcti/tcti_device.h
+++ b/include/tcti/tcti_device.h
@@ -35,6 +35,8 @@ extern "C" {
#include <sapi/tpm20.h>
#include <tcti/common.h>
+#define TCTI_DEVICE_DEFAULT "/dev/tpm0"
+
typedef struct {
const char *device_path;
} TCTI_DEVICE_CONF;