File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30493,7 +30493,8 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t pwdbased_test(void)
3049330493 if (ret != 0)
3049430494 return ret;
3049530495#endif
30496- #ifdef HAVE_PKCS12
30496+ #if defined(HAVE_PKCS12) && !defined(NO_ASN) && !defined(NO_PWDBASED) && \
30497+ !defined(NO_HMAC) && !defined(NO_CERTS)
3049730498 /* Test that a crafted PKCS#12 with INT_MAX MAC iterations is rejected
3049830499 * immediately rather than hanging in DoPKCS12Hash(). */
3049930500 {
@@ -30538,7 +30539,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t pwdbased_test(void)
3053830539 }
3053930540 ret = 0;
3054030541 }
30541- #endif /* HAVE_PKCS12 */
30542+ #endif /* HAVE_PKCS12 && !NO_ASN && !NO_PWDBASED && !NO_HMAC && !NO_CERTS */
3054230543#ifdef HAVE_SCRYPT
3054330544 ret = scrypt_test();
3054430545 if (ret != 0)
You can’t perform that action at this time.
0 commit comments