Bignum: make const placement consistent
Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
parent
ed5c8d3d1e
commit
620c58ced9
2 changed files with 4 additions and 4 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue