Skip to contentSkip to conversation

openssl: actually apply Use-SHA256-not-MD5-as-default-digest.patch

PATCH New Ross Burton 1 participant 1 message Mar 14, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openssl: actually apply Use-SHA256-not-MD5-as-default-digest.patch

This patch was added to fix a CVE, but wasn't actually added to SRC_URI:

CVE: CVE-2004-2761
The MD5 Message-Digest Algorithm is not collision resistant, which makes it easier for context-dependent attackers to conduct spoofing attacks, as demonstrated by attacks on the use of MD5 in the signature algorithm of an X.509 certificate.

---
 meta/recipes-connectivity/openssl/openssl_1.0.2k.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-connectivity/openssl/openssl_1.0.2k.bb +1 -0
index 1973f81..922819b 100644
@@ -41,6 +41,7 @@ SRC_URI += "file://find.pl;subdir=${BP}/util/ \
             file://configure-musl-target.patch \
             file://parallel.patch \
             file://openssl-util-perlpath.pl-cwd.patch \
+            file://Use-SHA256-not-MD5-as-default-digest.patch \
            "
 SRC_URI[md5sum] = "f965fc0bf01bf882b31314b61391ae65"
 SRC_URI[sha256sum] = "6b3977c61f2aedf0f96367dcfb5c6e578cf37e7b8d913b4ecb6643c3cb88d8c0"
Signature · 1 line
2.8.1