mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-06 07:10:41 +00: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:
commit
ad4f0ada37
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user