From d40aeeabc0d5f3c5d7c345bd0660457bc5d64b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Frauenschl=C3=A4ger?= Date: Fri, 3 Jul 2026 09:15:26 +0200 Subject: [PATCH] Fix ret check in test.c --- wolfcrypt/test/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 9abb9041c4..66bcfef391 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -67879,7 +67879,7 @@ static wc_test_ret_t pkcs7_signed_no_content_test(byte* cert, word32 certSz, if (pkcs7 == NULL) ERROR_OUT(WC_TEST_RET_ENC_ERRNO, out_lbl); ret = wc_PKCS7_VerifySignedData(pkcs7, out, (word32)encSz); - if (ret != SIG_VERIFY_E) + if (ret != WC_NO_ERR_TRACE(SIG_VERIFY_E)) ERROR_OUT(WC_TEST_RET_ENC_NC, out_lbl); ret = 0;