Re: [PATCH 2/2] MPI: Fix mpi_powm() when exponent is 0 and the result has no limbs

David Howells
2016-11-24T11:18:04Z

David Howells <dhowells@redhat.com> wrote:

> + if (!rp) {
> + if (mpi_resize(res, 1) < 0)

This is better done with RESIZE_IF_NEEDED().

David