Always clear the negative flag in mpi_zero()

This commit is contained in:
Dag-Erling Smørgrav 2015-10-03 14:23:32 +00:00 committed by des
parent 9042130830
commit 94471e9923

View file

@ -111,9 +111,9 @@ mpi_zero(cryb_mpi *X)
MPI_FAST_INIT(X);
} else if (X->msb != 0) {
memset(X->words, 0, X->size);
X->neg = 0;
X->msb = 0;
}
X->neg = 0;
}
/*