diff --git a/examples/wrap/caps.c b/examples/wrap/caps.c index 450014c9..25b4c430 100644 --- a/examples/wrap/caps.c +++ b/examples/wrap/caps.c @@ -129,6 +129,7 @@ int TPM2_Wrapper_CapsArgs(void* userCtx, int argc, char *argv[]) rc = wolfTPM2_GetHandles(PERSISTENT_FIRST, NULL); if (rc >= 0) { printf("Found %d persistent handles\n", rc); + rc = TPM_RC_SUCCESS; } /* Print the available PCR's */