Skip to content

Commit 2199021

Browse files
committed
Fix issue with api.c test_wolfSSL_OBJ and ./certs/test-servercert.p12 that uses DES3 and AES-CBC-256.
1 parent 751dcdf commit 2199021

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/api.c

+5-3
Original file line numberDiff line numberDiff line change
@@ -35668,10 +35668,12 @@ static int test_wolfSSL_OBJ(void)
3566835668
int boolRet;
3566935669
EVP_PKEY *pkey = NULL;
3567035670
const char *p12_f[] = {
35671-
#if !defined(NO_AES) && defined(WOLFSSL_AES_256) && !defined(NO_RSA)
35671+
/* bundle uses AES-CBC 256 and PKCS7 key uses DES3 */
35672+
#if !defined(NO_DES3) && defined(WOLFSSL_AES_256) && !defined(NO_RSA)
3567235673
"./certs/test-servercert.p12",
35673-
#endif
35674-
NULL};
35674+
#endif
35675+
NULL
35676+
};
3567535677

3567635678
for (i = 0; p12_f[i] != NULL; i++)
3567735679
{

0 commit comments

Comments
 (0)