nettle: The variable named p in the patch file was incorrectly named.

The variable in question should have been called ecc->p. The patch has been updated
so that the compilation of the nettle recipe would complete successfully. The backport
originated from this commit c71d2c9d20

(From OE-Core rev: 7d2476ca6d72be518189ff1441a090a896749f6a)

Signed-off-by: ngutzmann <nathangutzmann@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
ngutzmann 2016-03-09 09:17:31 -07:00 committed by Richard Purdie
parent 93a54170e3
commit 054abad0aa
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ Index: nettle-2.7.1/ecc-256.c
u1 -= cy;
- u1 += cnd_add_n (t, rp + n - 4, ecc->p, 3);
+
+ cy = cnd_add_n (t, rp + n - 4, p->m, 2);
+ cy = cnd_add_n (t, rp + n - 4, ecc->p, 2);
+ u0 += cy;
+ u1 += (u0 < cy);
u1 -= (-t) & 0xffffffff;