tests/api/test_evp.c: fix gating in test_wolfSSL_EVP_CIPHER_type_string().

This commit is contained in:
Daniel Pouzzner
2025-03-21 17:52:33 -05:00
parent a57326d500
commit e3fe575720

View File

@ -76,7 +76,7 @@ int test_wolfSSL_EVP_CIPHER_type_string(void)
const char* cipherStr; const char* cipherStr;
/* Test with valid cipher types */ /* Test with valid cipher types */
#ifndef NO_AES #ifdef HAVE_AES_CBC
#ifdef WOLFSSL_AES_128 #ifdef WOLFSSL_AES_128
cipherStr = wolfSSL_EVP_CIPHER_type_string(WC_AES_128_CBC_TYPE); cipherStr = wolfSSL_EVP_CIPHER_type_string(WC_AES_128_CBC_TYPE);
ExpectNotNull(cipherStr); ExpectNotNull(cipherStr);