F-6840 - Use fixed pass print in DecodeTag error test

pull/551/head
aidan garske 2026-07-13 12:46:16 -07:00
parent ce96373632
commit 2ef42a0151
1 changed files with 1 additions and 2 deletions

View File

@ -4503,8 +4503,7 @@ static void test_TPM2_ASN_DecodeTag_Errors(void)
rc = TPM2_ASN_DecodeTag(buf, (int)sizeof(buf), &idx, &tagLen, 0x02);
AssertIntNE(rc, 0);
printf("Test TPM Wrapper: %-40s %s\n", "ASN DecodeTag tag mismatch:",
rc != 0 ? "Passed" : "Failed");
printf("Test TPM Wrapper: %-40s Passed\n", "ASN DecodeTag tag mismatch:");
#endif
}