mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 02:55:45 +01:00
Minor comment improvement
This commit is contained in:
parent
27c15c7853
commit
56427c2d2b
@ -160,7 +160,7 @@ int mbedtls_mpi_shrink( mbedtls_mpi *X, size_t nblimbs )
|
|||||||
/* Actually resize up if there are currently fewer than nblimbs limbs. */
|
/* Actually resize up if there are currently fewer than nblimbs limbs. */
|
||||||
if( X->n <= nblimbs )
|
if( X->n <= nblimbs )
|
||||||
return( mbedtls_mpi_grow( X, nblimbs ) );
|
return( mbedtls_mpi_grow( X, nblimbs ) );
|
||||||
/* Now X->n > nblimbs >= 0. */
|
/* After this point, then X->n > nblimbs and in particular X->n > 0. */
|
||||||
|
|
||||||
for( i = X->n - 1; i > 0; i-- )
|
for( i = X->n - 1; i > 0; i-- )
|
||||||
if( X->p[i] != 0 )
|
if( X->p[i] != 0 )
|
||||||
|
Loading…
Reference in New Issue
Block a user