diff --git a/tests/api.c b/tests/api.c index 42f49cd45..5b95c6768 100644 --- a/tests/api.c +++ b/tests/api.c @@ -45365,17 +45365,29 @@ static int test_wolfSSL_EVP_aes_192_gcm(void) static int test_wolfSSL_EVP_aes_256_ccm(void) { - return TEST_RES_CHECK(wolfSSL_EVP_aes_256_ccm() != NULL); + int res = TEST_SKIPPED; +#ifdef HAVE_AESCCM + res = TEST_RES_CHECK(wolfSSL_EVP_aes_256_ccm() != NULL); +#endif + return res; } static int test_wolfSSL_EVP_aes_192_ccm(void) { - return TEST_RES_CHECK(wolfSSL_EVP_aes_192_ccm() != NULL); + int res = TEST_SKIPPED; +#ifdef HAVE_AESCCM + res = TEST_RES_CHECK(wolfSSL_EVP_aes_192_ccm() != NULL); +#endif + return res; } static int test_wolfSSL_EVP_aes_128_ccm(void) { - return TEST_RES_CHECK(wolfSSL_EVP_aes_256_ccm() != NULL); + int res = TEST_SKIPPED; +#ifdef HAVE_AESCCM + res = TEST_RES_CHECK(wolfSSL_EVP_aes_128_ccm() != NULL); +#endif + return res; } static int test_wolfSSL_EVP_ripemd160(void)