From c26f22e9f9a5c97b9bcd0fa50a6c298ce40d5aca Mon Sep 17 00:00:00 2001 From: Ruby Martin Date: Wed, 24 Jun 2026 14:24:59 -0600 Subject: [PATCH] Correct assignment to ssl->options.tls1_3 --- tests/api/test_dtls13.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api/test_dtls13.c b/tests/api/test_dtls13.c index 3be0df3ebf..fc389210f1 100644 --- a/tests/api/test_dtls13.c +++ b/tests/api/test_dtls13.c @@ -1001,7 +1001,7 @@ int test_dtls13_epochs(void) { ExpectNotNull(ctx = wolfSSL_CTX_new(wolfDTLSv1_3_client_method())); ExpectNotNull(ssl = wolfSSL_new(ctx)); /* Some manual setup to enter the epoch check */ - ExpectTrue(ssl->options.tls1_3 = 1); + if (ssl != NULL) ssl->options.tls1_3 = 1; inOutIdx = 0; if (ssl != NULL) ssl->keys.curEpoch64 = w64From32(0x0, 0x0);