From 219902149e133d7d382c82b68e7687a60364dc36 Mon Sep 17 00:00:00 2001 From: David Garske Date: Mon, 5 May 2025 14:50:09 -0700 Subject: [PATCH] Fix issue with api.c `test_wolfSSL_OBJ` and `./certs/test-servercert.p12` that uses DES3 and AES-CBC-256. --- tests/api.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/api.c b/tests/api.c index 4215d62c5..c74987802 100644 --- a/tests/api.c +++ b/tests/api.c @@ -35668,10 +35668,12 @@ static int test_wolfSSL_OBJ(void) int boolRet; EVP_PKEY *pkey = NULL; 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", - #endif - NULL}; + #endif + NULL + }; for (i = 0; p12_f[i] != NULL; i++) {