[oe-commits] [openembedded-core] 42/43: nettle: The variable named p in the patch file was incorrectly named.

git at git.openembedded.org git at git.openembedded.org
Thu Mar 10 23:15:14 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 4043b4b5078897bc0cf86d16a09873e7636a3368
Author: ngutzmann <nathangutzmann at gmail.com>
AuthorDate: Wed Mar 9 09:17:31 2016 -0700

    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
    
    Signed-off-by: ngutzmann <nathangutzmann at gmail.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-support/nettle/nettle-2.7.1/CVE-2015-8803_8805.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
        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;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list