1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Merge pull request #8514 from mschulz-at-hilscher/fixes/uninitialized-variable-in-ssl_msg

Fix uninitialized variable warnings in ssl_msg.c
This commit is contained in:
Manuel Pégourié-Gonnard
2023-12-06 11:06:03 +00:00
committed by GitHub

View File

@ -3627,7 +3627,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) {