mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 03:30:49 +02:00
Merge pull request #10843 from Frauschi/test_fix
Fix ret check in test.c
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user