summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;