1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei
2022-08-12 15:36:56 +02:00
parent d41f627650
commit 89e31460db
5 changed files with 23 additions and 20 deletions

View File

@ -82,9 +82,9 @@ int mbedtls_mpi_mod_raw_write( mbedtls_mpi_uint *X,
switch( m->ext_rep )
{
case MBEDTLS_MPI_MOD_EXT_REP_LE:
return mbedtls_mpi_core_write_le( X, m->n, buf, buflen );
return( mbedtls_mpi_core_write_le( X, m->n, buf, buflen ) );
case MBEDTLS_MPI_MOD_EXT_REP_BE:
return mbedtls_mpi_core_write_be( X, m->n, buf, buflen );
return( mbedtls_mpi_core_write_be( X, m->n, buf, buflen ) );
default:
return( MBEDTLS_ERR_MPI_BAD_INPUT_DATA );
}