mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
Fix for ./configure --enable-pkcs7 --disable-rsa && make check
.
This commit is contained in:
@@ -27644,6 +27644,7 @@ static int test_wc_PKCS7_EncodeDecodeEnvelopedData(void)
|
||||
tmpBytePtr = pkcs7->singleCert;
|
||||
pkcs7->singleCert = NULL;
|
||||
}
|
||||
#ifndef NO_RSA
|
||||
#if defined(NO_PKCS7_STREAM)
|
||||
/* when none streaming mode is used and PKCS7 is in bad state buffer error
|
||||
* is returned from kari parse which gets set to bad func arg */
|
||||
@@ -27655,6 +27656,7 @@ static int test_wc_PKCS7_EncodeDecodeEnvelopedData(void)
|
||||
(word32)sizeof(output), decoded, (word32)sizeof(decoded)),
|
||||
ASN_PARSE_E);
|
||||
#endif
|
||||
#endif /* !NO_RSA */
|
||||
if (pkcs7 != NULL) {
|
||||
pkcs7->singleCert = tmpBytePtr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user