From 9a8bc248dec1417ff937d35bfb8022380393f6e2 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Thu, 30 Jan 2025 18:02:46 +0100 Subject: [PATCH] dtls: remove dead code --- src/dtls.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/dtls.c b/src/dtls.c index d5b8b0d4e..cd3b4b8c4 100644 --- a/src/dtls.c +++ b/src/dtls.c @@ -848,8 +848,6 @@ static int SendStatelessReplyDtls13(const WOLFSSL* ssl, WolfSSL_CH* ch) WOLFSSL* nonConstSSL = (WOLFSSL*)ssl; TLSX* sslExts = nonConstSSL->extensions; - if (ret != 0) - goto dtls13_cleanup; nonConstSSL->options.tls = 1; nonConstSSL->options.tls1_1 = 1; nonConstSSL->options.tls1_3 = 1;