Fix ret check in test.c

This commit is contained in:
Tobias Frauenschläger
2026-07-03 09:15:26 +02:00
parent 326f40d032
commit d40aeeabc0
+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;