aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEtienne Carriere <etienne.carriere@linaro.org>2019-05-07 11:29:11 +0200
committerJérôme Forissier <jerome.forissier@linaro.org>2019-05-07 16:16:24 +0200
commit6e59bb1e95f0b3334d2f06a1312e9e395bb1232c (patch)
tree37fd628e6c7de53801a5dd0dca94412432d34f11 /Makefile
parentd62792a008c4cba8ab7f63c4abc733dcb5d7c17c (diff)
core: handle user TA context released from session
Change is_user_ta_ctx() to support NULL context reference. For such references the function now returns boolean value false. This allows caller to nicely abort their sequence when the context reference is already released from the session instance. Note that caller shall not assume a context refer to a PTA when is_user_ta_ctx() return false, it shall call is_pseudo_ta_ctx(). A side effect is that few test on reference and function return value can be simplified. This change also ensures TA dump_state() function does not crash when called provides a null context reference. Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions