Index: lib/chromeos/tlcl_stub.c |
diff --git a/lib/chromeos/tlcl_stub.c b/lib/chromeos/tlcl_stub.c |
index edc63bab0f817fdd2d539fc21af48e7b352635b4..cc19348afd80efc6bd0355e95a80b26a680b5c55 100644 |
--- a/lib/chromeos/tlcl_stub.c |
+++ b/lib/chromeos/tlcl_stub.c |
@@ -58,6 +58,11 @@ uint32_t TlclStubSendReceive(const uint8_t* request, int request_length, |
ret= tis_sendrecv(request, request_length, response, &recv_len); |
if (ret) |
return TPM_E_IOERROR; |
+#else |
+ /* Make a successful response */ |
+ uint8_t successful_response[10] = |
+ {0x0, 0x0, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x0}; |
+ memcpy(response, successful_response, 10); |
#endif |
return TPM_SUCCESS; |
} |