summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nettle/nettle-2.7.1/CVE-2015-8803_8805.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/nettle/nettle-2.7.1/CVE-2015-8803_8805.patch')
-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 1c4b9a9..a956f42 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;