mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-11-09 14:50:17 +08:00
bignum: follow customs for ret initialisation
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
7a5447ff65
commit
a08faf9070
@ -2014,7 +2014,7 @@ static int mbedtls_mpi_inv_mod_even_in_range(mbedtls_mpi *X,
|
||||
mbedtls_mpi const *A,
|
||||
mbedtls_mpi const *N)
|
||||
{
|
||||
int ret;
|
||||
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||
mbedtls_mpi I, G;
|
||||
|
||||
mbedtls_mpi_init(&I);
|
||||
@ -2054,7 +2054,7 @@ static int mbedtls_mpi_inv_mod_even(mbedtls_mpi *X,
|
||||
mbedtls_mpi const *A,
|
||||
mbedtls_mpi const *N)
|
||||
{
|
||||
int ret;
|
||||
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||
mbedtls_mpi AA;
|
||||
|
||||
mbedtls_mpi_init(&AA);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user