Showing with 0 additions and 5 deletions.
  1. +0 −2 lib/tcti/tpm2_tools_tcti_device.c
  2. +0 −3 lib/tcti/tpm2_tools_tcti_socket.c
2 changes: 0 additions & 2 deletions lib/tcti/tpm2_tools_tcti_device.c
Expand Up @@ -45,8 +45,6 @@ TSS2_TCTI_CONTEXT *tpm2_tools_tcti_device_init(char *opts) {

TCTI_DEVICE_CONF conf = {
.device_path = TCTI_DEVICE_DEFAULT_PATH,
.logCallback = NULL,
.logData = NULL,
};

char *env_path = getenv(TPM2TOOLS_ENV_DEVICE_FILE);
Expand Down
3 changes: 0 additions & 3 deletions lib/tcti/tpm2_tools_tcti_socket.c
Expand Up @@ -50,9 +50,6 @@ tpm2_tools_tcti_socket_init (char *opts)
TCTI_SOCKET_CONF conf = {
.hostname = TCTI_SOCKET_DEFAULT_ADDRESS,
.port = TCTI_SOCKET_DEFAULT_PORT,
.logCallback = NULL,
.logBufferCallback = NULL,
.logData = NULL,
};

char *addr_env = getenv(TPM2TOOLS_ENV_SOCKET_ADDRESS);
Expand Down