Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xtest: regression_1037: Close attestation session #669

Merged
merged 1 commit into from
May 30, 2023

Conversation

cck-wcs
Copy link
Contributor

@cck-wcs cck-wcs commented May 29, 2023

Reviewed-by: liushiwei liushiwei@eswincomputing.com

@@ -3141,6 +3141,8 @@ static void xtest_tee_test_1037(ADBG_Case_t *c)
Do_ADBG_EndSubCase(c, "TA attestation (memory)");

free_att_key();

TEEC_CloseSession(&session);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I wonder if it wouldn't make sense to put this just after the if (... above since it's not by anything past that point.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I wonder if it wouldn't make sense to put this just after the if (... above since it's not by anything past that point.
Hi @jenswi-linaro, do you mean to put TEEC_CloseSession directly on line 3126?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mean to put TEEC_CloseSession directly on line 3126?

Yes

Copy link
Contributor Author

@cck-wcs cck-wcs May 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mean to put TEEC_CloseSession directly on line 3126?

Yes

OK, the new modification is submited, please review, thanks.

Copy link
Contributor

@jenswi-linaro jenswi-linaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

Signed-off-by: chenchaokai <chenchaokai@eswincomputing.com>
Reviewed-by: liushiwei <liushiwei@eswincomputing.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
@cck-wcs
Copy link
Contributor Author

cck-wcs commented May 30, 2023

Reviewed-by: Jens Wiklander jens.wiklander@linaro.org

OK

@jforissier jforissier merged commit af75193 into OP-TEE:master May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants