| Index: firmware/stub/tpm_lite_stub.c
|
| diff --git a/firmware/stub/tpm_lite_stub.c b/firmware/stub/tpm_lite_stub.c
|
| index 2211064363a257eb69b96dac678028d61fc1e2e2..e91069b9b2c55570ad87a3214d14f4506859f06a 100644
|
| --- a/firmware/stub/tpm_lite_stub.c
|
| +++ b/firmware/stub/tpm_lite_stub.c
|
| @@ -129,8 +129,8 @@ void TlclOpenDevice(void) {
|
| }
|
|
|
|
|
| -void TlclStubSendReceive(uint8_t* request, int request_length,
|
| - uint8_t* response, int max_length) {
|
| +uint32_t TlclStubSendReceive(uint8_t* request, int request_length,
|
| + uint8_t* response, int max_length) {
|
| /*
|
| * In a real firmware implementation, this function should contain
|
| * the equivalent API call for the firmware TPM driver which takes a
|
| @@ -183,4 +183,6 @@ void TlclStubSendReceive(uint8_t* request, int request_length,
|
| (tag == TPM_TAG_RQU_AUTH2_COMMAND &&
|
| response_tag == TPM_TAG_RSP_AUTH2_COMMAND));
|
| assert(response_length == TpmResponseSize(response));
|
| +
|
| + return 0; /* Success */
|
| }
|
|
|