Skip to content

Commit

Permalink
Correct naming from ltl2go to Ltt2go
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Kissinger <paul.kissinger@letstrust.de>
  • Loading branch information
PaulKissinger committed Jul 11, 2023
1 parent 1068b98 commit 27b3811
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/tcti-spi-ltt2go.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ int __wrap_libusb_dev_mem_free (libusb_device_handle *dev_handle,
}

/*
* The test will invoke Tss2_Tcti_Spi_ltt2go_Init() and subsequently
* The test will invoke Tss2_Tcti_Spi_Ltt2go_Init() and subsequently
* it will start reading TPM_DID_VID, claim locality, read TPM_STS,
* and finally read TPM_RID before exiting the Init function.
* For testing purpose, the TPM responses are hardcoded.
Expand All @@ -350,15 +350,15 @@ tcti_spi_no_wait_state_success_test (void **state)
TSS2_TCTI_CONTEXT* tcti_ctx;

/* Get requested TCTI context size */
rc = Tss2_Tcti_Spi_ltt2go_Init (NULL, &size, NULL);
rc = Tss2_Tcti_Spi_Ltt2go_Init (NULL, &size, NULL);
assert_int_equal (rc, TSS2_RC_SUCCESS);

/* Allocate TCTI context size */
tcti_ctx = (TSS2_TCTI_CONTEXT*) calloc (1, size);
assert_non_null (tcti_ctx);

/* Initialize TCTI context */
rc = Tss2_Tcti_Spi_ltt2go_Init (tcti_ctx, &size, NULL);
rc = Tss2_Tcti_Spi_Ltt2go_Init (tcti_ctx, &size, NULL);
assert_int_equal (rc, TSS2_RC_SUCCESS);

TSS2_TCTI_SPI_HELPER_PLATFORM platform = ((TSS2_TCTI_SPI_HELPER_CONTEXT *) tcti_ctx)->platform;
Expand Down

0 comments on commit 27b3811

Please sign in to comment.