Skip to content

Commit 3aa758c

Browse files
committed
renegotiation indication changes number of ciphersuites so gate on that
1 parent 9a53125 commit 3aa758c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/api.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2055,6 +2055,7 @@ static int test_wolfSSL_CTX_set_cipher_list_bytes(void)
20552055
#if defined(OPENSSL_EXTRA) && defined(WOLFSSL_TLS13) && \
20562056
!defined(WOLFSSL_NO_TLS12) && \
20572057
!defined(NO_WOLFSSL_CLIENT) && \
2058+
!defined(HAVE_RENEGOTIATION_INDICATION) && \
20582059
defined(HAVE_AESGCM) && \
20592060
((!defined(NO_RSA) && defined(HAVE_ECC)) || !defined(NO_ERROR_STRINGS))
20602061
/* Helper function to check if TLS 1.3 suites exist in the suites list */
@@ -2089,6 +2090,7 @@ static int test_wolfSSL_set_cipher_list_tls12_keeps_tls13(void)
20892090
#if defined(OPENSSL_EXTRA) && defined(WOLFSSL_TLS13) && \
20902091
!defined(WOLFSSL_NO_TLS12) && \
20912092
!defined(NO_WOLFSSL_CLIENT) && \
2093+
!defined(HAVE_RENEGOTIATION_INDICATION) && \
20922094
defined(HAVE_AESGCM) && defined(HAVE_ECC) && !defined(NO_RSA)
20932095
WOLFSSL_CTX* ctx = NULL;
20942096
WOLFSSL* ssl = NULL;
@@ -2119,6 +2121,7 @@ static int test_wolfSSL_set_cipher_list_tls13_keeps_tls12(void)
21192121
#if defined(OPENSSL_EXTRA) && defined(WOLFSSL_TLS13) && \
21202122
!defined(WOLFSSL_NO_TLS12) && \
21212123
!defined(NO_WOLFSSL_CLIENT) && \
2124+
!defined(HAVE_RENEGOTIATION_INDICATION) && \
21222125
defined(HAVE_AESGCM) && !defined(NO_ERROR_STRINGS)
21232126
WOLFSSL_CTX* ctx = NULL;
21242127
WOLFSSL* ssl = NULL;
@@ -2149,6 +2152,7 @@ static int test_wolfSSL_set_cipher_list_tls12_with_version(void)
21492152
#if defined(OPENSSL_EXTRA) && defined(WOLFSSL_TLS13) && \
21502153
!defined(WOLFSSL_NO_TLS12) && \
21512154
!defined(NO_WOLFSSL_CLIENT) && \
2155+
!defined(HAVE_RENEGOTIATION_INDICATION) && \
21522156
defined(HAVE_AESGCM) && defined(HAVE_ECC) && !defined(NO_RSA)
21532157
WOLFSSL_CTX* ctx = NULL;
21542158
WOLFSSL* ssl = NULL;
@@ -2184,6 +2188,7 @@ static int test_wolfSSL_set_cipher_list_tls13_with_version(void)
21842188
#if defined(OPENSSL_EXTRA) && defined(WOLFSSL_TLS13) && \
21852189
!defined(WOLFSSL_NO_TLS12) && \
21862190
!defined(NO_WOLFSSL_CLIENT) && \
2191+
!defined(HAVE_RENEGOTIATION_INDICATION) && \
21872192
defined(HAVE_AESGCM) && !defined(NO_ERROR_STRINGS)
21882193
WOLFSSL_CTX* ctx = NULL;
21892194
WOLFSSL* ssl = NULL;

0 commit comments

Comments
 (0)