Skip to content

Commit 1f78923

Browse files
committed
Add a test for mixture of algorithms
1 parent 7c33096 commit 1f78923

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/api.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19002,6 +19002,12 @@ static int test_wc_PKCS12_create(void)
1900219002
/* Encoding certificate with PBE_AES128_CBC needs WOLFSSL_ASN_TEMPLATE */
1900319003
EXPECT_TEST(test_wc_PKCS12_create_once(PBE_AES128_CBC, PBE_AES128_CBC));
1900419004
#endif
19005+
/* Testing a mixture of 2 algorithms */
19006+
#if defined(HAVE_AES_CBC) && !defined(NO_AES) && !defined(NO_AES_256) && \
19007+
!defined(NO_SHA) && defined(WOLFSSL_ASN_TEMPLATE) && !defined(NO_DES3)
19008+
EXPECT_TEST(test_wc_PKCS12_create_once(PBE_AES256_CBC, PBE_SHA1_DES3));
19009+
#endif
19010+
1900519011
(void) test_wc_PKCS12_create_once;
1900619012

1900719013
return EXPECT_RESULT();

0 commit comments

Comments
 (0)