Skip to content

Commit

Permalink
Fix handling of testResult in tpm2_gettestresult
Browse files Browse the repository at this point in the history
Signed-off-by: wenxin.leong <[email protected]>
  • Loading branch information
wxleong authored and JuergenReppSIT committed May 23, 2024
1 parent c6e182c commit fdb77f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/tpm2_gettestresult.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ static tool_rc tpm2_tool_onrun(ESYS_CONTEXT *ectx, tpm2_option_flags flags) {
tpm2_tool_output("status: ");
print_yaml_indent(1);

status &= TPM2_RC_TESTING;

switch (status) {
case TPM2_RC_SUCCESS:
tpm2_tool_output("success");
Expand Down

0 comments on commit fdb77f0

Please sign in to comment.