mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 21:45:47 +01:00
Fix uninitialised variable in some configs
This commit is contained in:
parent
46ba7f3a92
commit
196d1338ba
@ -1914,6 +1914,8 @@ static int ecp_mul_comb( mbedtls_ecp_group *grp, mbedtls_ecp_point *R,
|
|||||||
#if MBEDTLS_ECP_FIXED_POINT_OPTIM == 1
|
#if MBEDTLS_ECP_FIXED_POINT_OPTIM == 1
|
||||||
p_eq_g = ( mbedtls_mpi_cmp_mpi( &P->Y, &grp->G.Y ) == 0 &&
|
p_eq_g = ( mbedtls_mpi_cmp_mpi( &P->Y, &grp->G.Y ) == 0 &&
|
||||||
mbedtls_mpi_cmp_mpi( &P->X, &grp->G.X ) == 0 );
|
mbedtls_mpi_cmp_mpi( &P->X, &grp->G.X ) == 0 );
|
||||||
|
#else
|
||||||
|
p_eq_g = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Pick window size and deduce related sizes */
|
/* Pick window size and deduce related sizes */
|
||||||
|
Loading…
Reference in New Issue
Block a user