]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
openssl: upgrade 1.1.1l -> 1.1.1n
authorOvidiu Panait <ovidiu.panait@windriver.com>
Sun, 20 Mar 2022 09:29:13 +0000 (11:29 +0200)
committerAnuj Mittal <anuj.mittal@intel.com>
Thu, 26 May 2022 01:42:41 +0000 (09:42 +0800)
Upgrade openssl 1.1.1l -> 1.1.1n to fix CVE-2022-0778:
https://nvd.nist.gov/vuln/detail/CVE-2022-0778
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=3118eb64934499d93db3230748a452351d1d9a65

This also fixes an evp_extra_test ptest failure introduced by openssl-1.1.1m:
"""
not ok 19 - test_signatures_with_engine
ERROR: (ptr) 'e = ENGINE_by_id(engine_id) != NULL' failed @ ../openssl-1.1.1m/test/evp_extra_test.c:1890
0x0
not ok 20 - test_cipher_with_engine
<snip>
"""

The ptest change is already present in Yocto master since oe-core
commit 5cd40648b0ba ("openssl: upgrade to 3.0.1").

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-connectivity/openssl/openssl_1.1.1n.bb [moved from meta/recipes-connectivity/openssl/openssl_1.1.1l.bb with 98% similarity]

similarity index 98%
rename from meta/recipes-connectivity/openssl/openssl_1.1.1l.bb
rename to meta/recipes-connectivity/openssl/openssl_1.1.1n.bb
index 17c769bb56ed281ac592e1518d628f696faf10d2..dbde6e96a30bba4eacddd0a005f00747da4ec42f 100644 (file)
@@ -29,7 +29,7 @@ SRC_URI:append:riscv32 = " \
            file://0004-Fixup-support-for-io_pgetevents_time64-syscall.patch \
            "
 
-SRC_URI[sha256sum] = "0b7a3e5e59c34827fe0c3a74b7ec8baef302b98fa80088d7f9153aa16fa76bd1"
+SRC_URI[sha256sum] = "40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a"
 
 inherit lib_package multilib_header multilib_script ptest
 MULTILIB_SCRIPTS = "${PN}-bin:${bindir}/c_rehash"
@@ -204,6 +204,7 @@ do_install_ptest () {
        install -m755 ${B}/apps/CA.pl ${D}${PTEST_PATH}/apps
 
        install -d ${D}${PTEST_PATH}/engines
+       install -m755 ${B}/engines/dasync.so ${D}${PTEST_PATH}/engines
        install -m755 ${B}/engines/ossltest.so ${D}${PTEST_PATH}/engines
 
         # seems to be needed with perl 5.32.1