fix test case, set data chunk size to use

pull/8645/head
JacobBarthelmeh 2025-04-09 09:48:50 -06:00
parent fb6cbdd5be
commit 3787dbde2b
1 changed files with 1 additions and 0 deletions

View File

@ -17551,6 +17551,7 @@ static int test_wc_PKCS7_EncodeDecodeEnvelopedData(void)
if (i == 0) {
XMEMSET(&strm, 0, sizeof(strm));
strm.chunkSz = FOURK_BUF;
ExpectIntEQ(wc_PKCS7_SetStreamMode(pkcs7, 1, GetContentCB,
StreamOutputCB, (void*)&strm), 0);
encodedSz = wc_PKCS7_EncodeEnvelopedData(pkcs7, NULL, 0);