Skip to content

Commit 6887281

Browse files
committed
Fix for ./configure --enable-pkcs7 --disable-rsa && make check.
1 parent a3bf7a6 commit 6887281

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/api.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27644,6 +27644,7 @@ static int test_wc_PKCS7_EncodeDecodeEnvelopedData(void)
2764427644
tmpBytePtr = pkcs7->singleCert;
2764527645
pkcs7->singleCert = NULL;
2764627646
}
27647+
#ifndef NO_RSA
2764727648
#if defined(NO_PKCS7_STREAM)
2764827649
/* when none streaming mode is used and PKCS7 is in bad state buffer error
2764927650
* is returned from kari parse which gets set to bad func arg */
@@ -27655,6 +27656,7 @@ static int test_wc_PKCS7_EncodeDecodeEnvelopedData(void)
2765527656
(word32)sizeof(output), decoded, (word32)sizeof(decoded)),
2765627657
ASN_PARSE_E);
2765727658
#endif
27659+
#endif /* !NO_RSA */
2765827660
if (pkcs7 != NULL) {
2765927661
pkcs7->singleCert = tmpBytePtr;
2766027662
}

0 commit comments

Comments
 (0)