Fix uninitialized variable warnings.
Signed-off-by: Matthias Schulz <mschulz@hilscher.com>
This commit is contained in:
parent
4122c16abd
commit
9916b06ce7
1 changed files with 1 additions and 1 deletions
|
@ -3632,7 +3632,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