lkml.org 
[lkml]   [2016]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/2] MPI: Fix mpi_powm() when exponent is 0 and the result has no limbs
Date
David Howells <dhowells@redhat.com> wrote:

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

This is better done with RESIZE_IF_NEEDED().

David

\
 
 \ /
  Last update: 2016-11-24 12:19    [W:0.080 / U:1.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site