mirror of
https://github.com/espressif/mbedtls.git
synced 2026-08-15 07:57:47 +00:00
Fix maybe-uninitialized warnings resulting in build failure.
This commit is contained in:
committed by
Mahavir Jain
parent
a109fd727b
commit
90f46c8b17
+1
-1
@@ -2068,7 +2068,7 @@ static int ecp_mul_comb_core( const mbedtls_ecp_group *grp, mbedtls_ecp_point *R
|
||||
void *p_rng,
|
||||
mbedtls_ecp_restart_ctx *rs_ctx )
|
||||
{
|
||||
int ret;
|
||||
int ret = 0;
|
||||
mbedtls_ecp_point Txi;
|
||||
size_t i;
|
||||
|
||||
|
||||
+1
-1
@@ -5691,7 +5691,7 @@ static int ssl_parse_certificate_chain( mbedtls_ssl_context *ssl )
|
||||
|
||||
int mbedtls_ssl_parse_certificate( mbedtls_ssl_context *ssl )
|
||||
{
|
||||
int ret;
|
||||
int ret = 0;
|
||||
const mbedtls_ssl_ciphersuite_t * const ciphersuite_info =
|
||||
ssl->transform_negotiate->ciphersuite_info;
|
||||
#if defined(MBEDTLS_SSL_SRV_C) && defined(MBEDTLS_SSL_SERVER_NAME_INDICATION)
|
||||
|
||||
Reference in New Issue
Block a user