From 9916b06ce746d67d3562227bb84774a7cbfc3f9b Mon Sep 17 00:00:00 2001 From: Matthias Schulz Date: Thu, 9 Nov 2023 14:25:01 +0100 Subject: [PATCH] Fix uninitialized variable warnings. Signed-off-by: Matthias Schulz --- library/ssl_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ssl_msg.c b/library/ssl_msg.c index cffd1c90f..39f633730 100644 --- a/library/ssl_msg.c +++ b/library/ssl_msg.c @@ -3632,7 +3632,7 @@ MBEDTLS_CHECK_RETURN_CRITICAL static int ssl_handle_possible_reconnect(mbedtls_ssl_context *ssl) { int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; - size_t len; + size_t len = 0; if (ssl->conf->f_cookie_write == NULL || ssl->conf->f_cookie_check == NULL) {