Merge pull request #10843 from Frauschi/test_fix

Fix ret check in test.c
This commit is contained in:
Daniel Pouzzner
2026-07-03 02:20:23 -05:00
committed by GitHub
+1 -1
View File
@@ -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;