Bignum: make const placement consistent

Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
Janos Follath 2022-08-15 11:58:42 +01:00
parent ed5c8d3d1e
commit 620c58ced9
2 changed files with 4 additions and 4 deletions

View file

@ -185,7 +185,7 @@ int mbedtls_mpi_core_read_be( mbedtls_mpi_uint *X,
const unsigned char *buf,
size_t buflen )
{
size_t const limbs = CHARS_TO_LIMBS( buflen );
const size_t limbs = CHARS_TO_LIMBS( buflen );
if( nx < limbs )
return( MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL );