summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorngutzmann <nathangutzmann@gmail.com>2016-03-09 09:17:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-11 16:50:46 +0000
commit054abad0aa55ebaa59e7243ad750b29c60769a94 (patch)
treed9fd507f8efbea579fe93d3cd16553c48379360d /meta/recipes-support
parent93a54170e31abc2d182c8774a481153fb0c050d9 (diff)
downloadpoky-054abad0aa55ebaa59e7243ad750b29c60769a94.tar.gz
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 https://git.lysator.liu.se/nettle/nettle/commit/c71d2c9d20eeebb985e3872e4550137209e3ce4d (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>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/nettle/nettle-2.7.1/CVE-2015-8803_8805.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/nettle/nettle-2.7.1/CVE-2015-8803_8805.patch b/meta/recipes-support/nettle/nettle-2.7.1/CVE-2015-8803_8805.patch
index 1c4b9a98f2..a956f426b8 100644
--- a/meta/recipes-support/nettle/nettle-2.7.1/CVE-2015-8803_8805.patch
+++ b/meta/recipes-support/nettle/nettle-2.7.1/CVE-2015-8803_8805.patch
@@ -40,7 +40,7 @@ Index: nettle-2.7.1/ecc-256.c
40 u1 -= cy; 40 u1 -= cy;
41- u1 += cnd_add_n (t, rp + n - 4, ecc->p, 3); 41- u1 += cnd_add_n (t, rp + n - 4, ecc->p, 3);
42+ 42+
43+ cy = cnd_add_n (t, rp + n - 4, p->m, 2); 43+ cy = cnd_add_n (t, rp + n - 4, ecc->p, 2);
44+ u0 += cy; 44+ u0 += cy;
45+ u1 += (u0 < cy); 45+ u1 += (u0 < cy);
46 u1 -= (-t) & 0xffffffff; 46 u1 -= (-t) & 0xffffffff;