Skip to content

Commit cdaa4d8

Browse files
committed
Add proper gating on !NO_WOLFSSL_SERVER
Found with the following configuration: --enable-dtls --enable-dtls13 --enable-dtls-mtu CFLAGS="-DNO_WOLFSSL_SERVER"
1 parent 9cb19e3 commit cdaa4d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55603,7 +55603,7 @@ static int test_wolfSSL_dtls_set_mtu(void)
5560355603
{
5560455604
int res = TEST_SKIPPED;
5560555605
#if (defined(WOLFSSL_DTLS_MTU) || defined(WOLFSSL_SCTP)) && \
55606-
defined(WOLFSSL_DTLS)
55606+
!defined(NO_WOLFSSL_SERVER) && defined(WOLFSSL_DTLS)
5560755607
WOLFSSL_CTX* ctx = NULL;
5560855608
WOLFSSL* ssl = NULL;
5560955609
const char* testCertFile;

0 commit comments

Comments
 (0)