mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-02-04 15:35:06 +01:00
AES-GCM guard.
This commit is contained in:
@@ -2055,6 +2055,7 @@ static int test_wolfSSL_CTX_set_cipher_list_bytes(void)
|
||||
#if defined(OPENSSL_EXTRA) && defined(WOLFSSL_TLS13) && \
|
||||
!defined(WOLFSSL_NO_TLS12) && \
|
||||
(!defined(NO_WOLFSSL_CLIENT) || !defined(NO_WOLFSSL_SERVER)) && \
|
||||
defined(HAVE_AESGCM) && \
|
||||
((!defined(NO_RSA) && defined(HAVE_ECC)) || !defined(NO_ERROR_STRINGS))
|
||||
/* Helper function to check if TLS 1.3 suites exist in the suites list */
|
||||
static int suites_has_tls13(const byte* suites, word16 suiteSz)
|
||||
@@ -2088,7 +2089,7 @@ static int test_wolfSSL_set_cipher_list_tls12_keeps_tls13(void)
|
||||
#if defined(OPENSSL_EXTRA) && defined(WOLFSSL_TLS13) && \
|
||||
!defined(WOLFSSL_NO_TLS12) && \
|
||||
(!defined(NO_WOLFSSL_CLIENT) || !defined(NO_WOLFSSL_SERVER)) && \
|
||||
defined(HAVE_ECC) && !defined(NO_RSA)
|
||||
defined(HAVE_AESGCM) && defined(HAVE_ECC) && !defined(NO_RSA)
|
||||
WOLFSSL_CTX* ctx = NULL;
|
||||
WOLFSSL* ssl = NULL;
|
||||
|
||||
@@ -2123,7 +2124,7 @@ static int test_wolfSSL_set_cipher_list_tls13_keeps_tls12(void)
|
||||
#if defined(OPENSSL_EXTRA) && defined(WOLFSSL_TLS13) && \
|
||||
!defined(WOLFSSL_NO_TLS12) && \
|
||||
(!defined(NO_WOLFSSL_CLIENT) || !defined(NO_WOLFSSL_SERVER)) && \
|
||||
!defined(NO_ERROR_STRINGS)
|
||||
defined(HAVE_AESGCM) && !defined(NO_ERROR_STRINGS)
|
||||
WOLFSSL_CTX* ctx = NULL;
|
||||
WOLFSSL* ssl = NULL;
|
||||
|
||||
@@ -2158,7 +2159,7 @@ static int test_wolfSSL_set_cipher_list_tls12_with_version(void)
|
||||
#if defined(OPENSSL_EXTRA) && defined(WOLFSSL_TLS13) && \
|
||||
!defined(WOLFSSL_NO_TLS12) && \
|
||||
(!defined(NO_WOLFSSL_CLIENT) || !defined(NO_WOLFSSL_SERVER)) && \
|
||||
defined(HAVE_ECC) && !defined(NO_RSA)
|
||||
defined(HAVE_AESGCM) && defined(HAVE_ECC) && !defined(NO_RSA)
|
||||
WOLFSSL_CTX* ctx = NULL;
|
||||
WOLFSSL* ssl = NULL;
|
||||
|
||||
@@ -2198,7 +2199,7 @@ static int test_wolfSSL_set_cipher_list_tls13_with_version(void)
|
||||
#if defined(OPENSSL_EXTRA) && defined(WOLFSSL_TLS13) && \
|
||||
!defined(WOLFSSL_NO_TLS12) && \
|
||||
(!defined(NO_WOLFSSL_CLIENT) || !defined(NO_WOLFSSL_SERVER)) && \
|
||||
!defined(NO_ERROR_STRINGS)
|
||||
defined(HAVE_AESGCM) && !defined(NO_ERROR_STRINGS)
|
||||
WOLFSSL_CTX* ctx = NULL;
|
||||
WOLFSSL* ssl = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user