From e0c9586b79a9e6da33edcd05bbe65b3ad8bb69cf Mon Sep 17 00:00:00 2001 From: gojimmypi Date: Thu, 15 Dec 2022 12:51:33 -0800 Subject: [PATCH] initialize resp_length = 0 in tls.c --- src/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls.c b/src/tls.c index dd1149ae9..27c1002b2 100644 --- a/src/tls.c +++ b/src/tls.c @@ -3054,7 +3054,7 @@ static int TLSX_CSR_Parse(WOLFSSL* ssl, const byte* input, word16 length, #endif #if !defined(NO_WOLFSSL_CLIENT) && defined(WOLFSSL_TLS13) - word32 resp_length; + word32 resp_length = 0; #endif /* shut up compiler warnings */