F-9175 - Return the flush result for an explicit handle

pull/604/head
Aidan Garske 2026-09-10 11:06:46 -07:00
parent 7792efb8ec
commit 995b0879bc
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ int TPM2_Flush_Tool(void* userCtx, int argc, char *argv[])
else {
flushCtx.flushHandle = handle;
printf("Freeing %X object\n", handle);
TPM2_FlushContext(&flushCtx);
rc = TPM2_FlushContext(&flushCtx);
}
wolfTPM2_Cleanup(&dev);