mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
adjust test case for asn=original
This commit is contained in:
@@ -25656,9 +25656,15 @@ static int test_wc_PKCS7_EncodeDecodeEnvelopedData(void)
|
||||
tempWrd32 = pkcs7->singleCertSz;
|
||||
pkcs7->singleCertSz = 0;
|
||||
}
|
||||
#if defined(WOLFSSL_ASN_TEMPLATE)
|
||||
ExpectIntEQ(wc_PKCS7_DecodeEnvelopedData(pkcs7, output,
|
||||
(word32)sizeof(output), decoded, (word32)sizeof(decoded)),
|
||||
BUFFER_E);
|
||||
#else
|
||||
ExpectIntEQ(wc_PKCS7_DecodeEnvelopedData(pkcs7, output,
|
||||
(word32)sizeof(output), decoded, (word32)sizeof(decoded)),
|
||||
ASN_PARSE_E);
|
||||
#endif
|
||||
if (pkcs7 != NULL) {
|
||||
pkcs7->singleCertSz = tempWrd32;
|
||||
|
||||
|
Reference in New Issue
Block a user