This commit is a workaround of the fact that daemon is not passing
data properly between its classes and client library.
Change-Id: I3e52606d646c7f9e6d574582b7233aefbc252338
}
return result;
- } else session_imp->sessionID = os.sessionID;
+ } else {
+ session_imp->sessionID = os.sessionID;
+ /* A workaround for daemon not passing properly data upwards */
+ if (returnOrigin) *returnOrigin = TEEC_ORIGIN_TRUSTED_APP;
+ }
if (operation) postProcessOperation(operation, &os.operation, tmpSharedMem);