From 9c2903c1769419c043a4f3ba4f06673d897351b5 Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Thu, 19 May 2022 01:18:25 -0400 Subject: [PATCH 1/2] Remove HAVE_AES_GCM guard as it is never defined. --- tests/api.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/api.c b/tests/api.c index 88ff7c873..5cdf3a8ba 100644 --- a/tests/api.c +++ b/tests/api.c @@ -44615,7 +44615,6 @@ static void test_wolfSSL_EVP_CIPHER_block_size(void) #endif #endif -#ifdef HAVE_AES_GCM #ifdef WOLFSSL_AES_128 AssertIntEQ(EVP_CIPHER_block_size(EVP_aes_128_gcm()), 1); #endif @@ -44625,7 +44624,6 @@ static void test_wolfSSL_EVP_CIPHER_block_size(void) #ifdef WOLFSSL_AES_256 AssertIntEQ(EVP_CIPHER_block_size(EVP_aes_256_gcm()), 1); #endif -#endif #ifdef WOLFSSL_AES_COUNTER #ifdef WOLFSSL_AES_128 From cf81ae79e4ea92d84c18a0fb2521513b8afe866a Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Thu, 19 May 2022 11:30:58 -0400 Subject: [PATCH 2/2] HAVE_AESGCM --- tests/api.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/api.c b/tests/api.c index 5cdf3a8ba..c79596ae4 100644 --- a/tests/api.c +++ b/tests/api.c @@ -44615,6 +44615,7 @@ static void test_wolfSSL_EVP_CIPHER_block_size(void) #endif #endif +#ifdef HAVE_AESGCM #ifdef WOLFSSL_AES_128 AssertIntEQ(EVP_CIPHER_block_size(EVP_aes_128_gcm()), 1); #endif @@ -44624,6 +44625,7 @@ static void test_wolfSSL_EVP_CIPHER_block_size(void) #ifdef WOLFSSL_AES_256 AssertIntEQ(EVP_CIPHER_block_size(EVP_aes_256_gcm()), 1); #endif +#endif #ifdef WOLFSSL_AES_COUNTER #ifdef WOLFSSL_AES_128