Merge pull request #5869 from anhu/NO_SERVER_fix

Add proper gating on !NO_WOLFSSL_SERVER
This commit is contained in:
David Garske
2022-12-08 14:30:23 -08:00
committed by GitHub

View File

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