forked from wolfSSL/wolfssl
Fix issue with api.c test_wolfSSL_OBJ
and ./certs/test-servercert.p12
that uses DES3 and AES-CBC-256.
This commit is contained in:
@@ -35668,10 +35668,12 @@ static int test_wolfSSL_OBJ(void)
|
|||||||
int boolRet;
|
int boolRet;
|
||||||
EVP_PKEY *pkey = NULL;
|
EVP_PKEY *pkey = NULL;
|
||||||
const char *p12_f[] = {
|
const char *p12_f[] = {
|
||||||
#if !defined(NO_AES) && defined(WOLFSSL_AES_256) && !defined(NO_RSA)
|
/* bundle uses AES-CBC 256 and PKCS7 key uses DES3 */
|
||||||
|
#if !defined(NO_DES3) && defined(WOLFSSL_AES_256) && !defined(NO_RSA)
|
||||||
"./certs/test-servercert.p12",
|
"./certs/test-servercert.p12",
|
||||||
#endif
|
#endif
|
||||||
NULL};
|
NULL
|
||||||
|
};
|
||||||
|
|
||||||
for (i = 0; p12_f[i] != NULL; i++)
|
for (i = 0; p12_f[i] != NULL; i++)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user