From 2ef42a01517c6b63a55fac5ddf2d18ef656e024e Mon Sep 17 00:00:00 2001 From: aidan garske Date: Mon, 13 Jul 2026 12:46:16 -0700 Subject: [PATCH] F-6840 - Use fixed pass print in DecodeTag error test --- tests/unit_tests.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/unit_tests.c b/tests/unit_tests.c index fc4cc4c8..797dfced 100644 --- a/tests/unit_tests.c +++ b/tests/unit_tests.c @@ -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 }