mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-05-06 09:06:16 +02:00
update test case to account for NO_DES3 build and resolve clang tidy warnings
This commit is contained in:
+5
-1
@@ -39268,7 +39268,11 @@ static int test_wc_PKCS7_DecodeEnvelopedData_stream(void)
|
||||
ret = wc_PKCS7_DecodeEnvelopedData(pkcs7, testStreamBuffer,
|
||||
testStreamBufferSz, NULL, 0);
|
||||
} while (ret == WC_NO_ERR_TRACE(WC_PKCS7_WANT_READ_E));
|
||||
ExpectIntGT(ret, 0);
|
||||
#ifdef NO_DES3
|
||||
ExpectIntEQ(ret, ALGO_ID_E);
|
||||
#else
|
||||
ExpectIntGT(ret, 0);
|
||||
#endif
|
||||
|
||||
if (f != XBADFILE) {
|
||||
XFCLOSE(f);
|
||||
|
||||
Reference in New Issue
Block a user