Minor change that makes life easier for static analyzers / compilers

This commit is contained in:
Paul Bakker 2013-10-29 16:18:35 +01:00
parent 6edcd41c0a
commit 0d7702c3ee

View File

@ -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;
}