Add proper gating on !NO_WOLFSSL_SERVER

Found with the following configuration:

--enable-dtls --enable-dtls13 --enable-dtls-mtu CFLAGS="-DNO_WOLFSSL_SERVER"
pull/5869/head
Anthony Hu 2022-12-08 14:20:17 -05:00
parent 9cb19e36fe
commit cdaa4d8aa0
1 changed files with 1 additions and 1 deletions

View File

@ -55603,7 +55603,7 @@ static int test_wolfSSL_dtls_set_mtu(void)
{
int res = TEST_SKIPPED;
#if (defined(WOLFSSL_DTLS_MTU) || defined(WOLFSSL_SCTP)) && \
defined(WOLFSSL_DTLS)
!defined(NO_WOLFSSL_SERVER) && defined(WOLFSSL_DTLS)
WOLFSSL_CTX* ctx = NULL;
WOLFSSL* ssl = NULL;
const char* testCertFile;