Skip to content

Commit 8d8f4d4

Browse files
committed
fixup! zephyr no malloc
1 parent cbd490d commit 8d8f4d4

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

wolfcrypt/test/test.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,7 +1676,10 @@ options: [-s max_relative_stack_bytes] [-m max_relative_heap_memory_bytes]\n\
16761676
PRIVATE_KEY_LOCK();
16771677
#endif
16781678

1679-
#if defined(HAVE_PKCS12) && defined(USE_CERT_BUFFERS_2048)
1679+
#if defined(USE_CERT_BUFFERS_2048) && \
1680+
defined(HAVE_PKCS12) && \
1681+
!defined(NO_ASN) && !defined(NO_PWDBASED) && !defined(NO_HMAC) && \
1682+
!defined(NO_CERTS)
16801683
if ( (ret = pkcs12_test()) != 0)
16811684
TEST_FAIL("PKCS12 test failed!\n", ret);
16821685
else
@@ -24864,7 +24867,10 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t pwdbased_test(void)
2486424867

2486524868
#endif /* NO_PWDBASED */
2486624869

24867-
#if defined(HAVE_PKCS12) && defined(USE_CERT_BUFFERS_2048)
24870+
#if defined(USE_CERT_BUFFERS_2048) && \
24871+
defined(HAVE_PKCS12) && \
24872+
!defined(NO_ASN) && !defined(NO_PWDBASED) && !defined(NO_HMAC) && \
24873+
!defined(NO_CERTS)
2486824874
WOLFSSL_TEST_SUBROUTINE wc_test_ret_t pkcs12_test(void)
2486924875
{
2487024876
wc_test_ret_t ret = 0;

0 commit comments

Comments
 (0)