mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 19:58:22 +00:00
Minor change that makes life easier for static analyzers / compilers
This commit is contained in:
parent
6edcd41c0a
commit
0d7702c3ee
1 changed files with 4 additions and 2 deletions
|
@ -1516,9 +1516,11 @@ int mpi_exp_mod( mpi *X, const mpi *A, const mpi *E, const mpi *N, mpi *_RR )
|
|||
{
|
||||
if( bufsize == 0 )
|
||||
{
|
||||
if( nblimbs-- == 0 )
|
||||
if( nblimbs == 0 )
|
||||
break;
|
||||
|
||||
nblimbs--;
|
||||
|
||||
bufsize = sizeof( t_uint ) << 3;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue