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
1 changed files with 1 additions and 1 deletions
|
@ -3627,7 +3627,7 @@ MBEDTLS_CHECK_RETURN_CRITICAL
|
||||||
static int ssl_handle_possible_reconnect(mbedtls_ssl_context *ssl)
|
static int ssl_handle_possible_reconnect(mbedtls_ssl_context *ssl)
|
||||||
{
|
{
|
||||||
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||||
size_t len;
|
size_t len = 0;
|
||||||
|
|
||||||
if (ssl->conf->f_cookie_write == NULL ||
|
if (ssl->conf->f_cookie_write == NULL ||
|
||||||
ssl->conf->f_cookie_check == NULL) {
|
ssl->conf->f_cookie_check == NULL) {
|
||||||
|
|
Loading…
Reference in a new issue