diff --git a/library/bignum.c b/library/bignum.c index 827a3cb66..2b5e59c1c 100644 --- a/library/bignum.c +++ b/library/bignum.c @@ -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;