Skip to content

Commit 2ef42a0

Browse files
committed
F-6840 - Use fixed pass print in DecodeTag error test
1 parent ce96373 commit 2ef42a0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/unit_tests.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4503,8 +4503,7 @@ static void test_TPM2_ASN_DecodeTag_Errors(void)
45034503
rc = TPM2_ASN_DecodeTag(buf, (int)sizeof(buf), &idx, &tagLen, 0x02);
45044504
AssertIntNE(rc, 0);
45054505

4506-
printf("Test TPM Wrapper: %-40s %s\n", "ASN DecodeTag tag mismatch:",
4507-
rc != 0 ? "Passed" : "Failed");
4506+
printf("Test TPM Wrapper: %-40s Passed\n", "ASN DecodeTag tag mismatch:");
45084507
#endif
45094508
}
45104509

0 commit comments

Comments
 (0)