aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilip Tricca <philip.b.tricca@intel.com>2018-01-08 18:22:36 -0800
committerPhilip Tricca <philip.b.tricca@intel.com>2018-01-09 12:19:12 -0500
commit7362c44d95c0e3521cc02f7dfacc3505b6609f0e (patch)
tree3347be590835cf93584b8d60ffbd538e0ccfa919 /include
parent001e8bf2de610d4ccc74eee3267aa316f55a9b53 (diff)
downloadtpm2-tss-7362c44d95c0e3521cc02f7dfacc3505b6609f0e.tar.gz
tcti-socket: Move TCTI_SOCKET_DEFAULT macro to public header.
Update help string to reference the macro instead of the connection string directly. Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/tcti/tcti_socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tcti/tcti_socket.h b/include/tcti/tcti_socket.h
index 881c7d2e..8f925072 100644
--- a/include/tcti/tcti_socket.h
+++ b/include/tcti/tcti_socket.h
@@ -40,6 +40,8 @@ extern "C" {
#define DEFAULT_HOSTNAME "127.0.0.1"
+#define TCTI_SOCKET_DEFAULT "tcp://127.0.0.1:2321"
+
/* global data defined in the socket TCTI */
extern int (*printfFunction)( printf_type type, const char *format, ...);