From ff9fed08a336a7259b684477ec57ee6368cb8f8e Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Thu, 26 Aug 2021 21:17:45 -0600 Subject: [PATCH] fix count on number of tickets sent --- src/tls13.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls13.c b/src/tls13.c index 6af1656f8..1054f4794 100644 --- a/src/tls13.c +++ b/src/tls13.c @@ -9428,8 +9428,8 @@ int wolfSSL_accept_TLSv13(WOLFSSL* ssl) WOLFSSL_ERROR(ssl->error); return WOLFSSL_FATAL_ERROR; } + ssl->options.ticketsSent = 1; } - ssl->options.ticketsSent = 1; #endif #endif /* HAVE_SESSION_TICKET */ ssl->options.acceptState = TLS13_PRE_TICKET_SENT;