mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 19:45:37 +01:00
Add a const annotation to the non-changing argument of mpi_sub_mul
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
64cad2fa07
commit
d6496afa0b
@ -1092,7 +1092,9 @@ cleanup:
|
||||
/*
|
||||
* Helper for mbedtls_mpi subtraction
|
||||
*/
|
||||
static void mpi_sub_hlp( size_t n, mbedtls_mpi_uint *s, mbedtls_mpi_uint *d )
|
||||
static void mpi_sub_hlp( size_t n,
|
||||
const mbedtls_mpi_uint *s,
|
||||
mbedtls_mpi_uint *d )
|
||||
{
|
||||
size_t i;
|
||||
mbedtls_mpi_uint c, z;
|
||||
|
Loading…
Reference in New Issue
Block a user