Skip to content

Commit

Permalink
Update test/integration/fapi-key-create-policies-sign.int.c
Browse files Browse the repository at this point in the history
Co-authored-by: Johannes Holland <[email protected]>
  • Loading branch information
JuergenReppSIT and joholl authored Jul 3, 2023
1 parent 419ff18 commit 991ff79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/fapi-key-create-policies-sign.int.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ test_fapi_key_create_policies_sign(FAPI_CONTEXT *context)
if (number_rc(r) == TPM2_RC_PP) {
LOG_WARNING("Test requires physical presence.");
goto skip;
} else if (number_rc(r) == TPM2_RC_COMMAND_CODE) {
} else if (base_rc(r) == TPM2_RC_COMMAND_CODE) {
LOG_WARNING("Command not supported, probably PolicyPhysicalPresence");
goto skip;
}
Expand Down

0 comments on commit 991ff79

Please sign in to comment.