diff options
author | Lee Chee Yang <chee.yang.lee@intel.com> | 2023-11-29 20:45:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-04 11:23:37 +0000 |
commit | 5369e2f5c5db497b798fcce96eb597235e4c952a (patch) | |
tree | d7a75505faa3be135d36a4ae60d571760bbf9911 /meta/recipes-connectivity/openssl/openssl/fix_random_labels.patch | |
parent | 87fdb2fb6f4af9231c2ef690f57e253dabd87393 (diff) | |
download | poky-5369e2f5c5db497b798fcce96eb597235e4c952a.tar.gz |
openssl: upgrade to 3.2.0
upgrade include fix for CVE-2023-5678.
Changes in 3.2.0
https://www.openssl.org/news/cl32.txt
drop upstreamed 0001-Link-libatomic-on-riscv32.patch.
drop fix_random_labels.patch as fixed by
https://github.com/openssl/openssl/commit/0fbc50ef0cb8894973d4739af62e95be825b7ccf
(From OE-Core rev: 5a40f27051a1d40af41e7260b9f693a3c27c321f)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl/fix_random_labels.patch')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl/fix_random_labels.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl/fix_random_labels.patch b/meta/recipes-connectivity/openssl/openssl/fix_random_labels.patch deleted file mode 100644 index 78dcd81685..0000000000 --- a/meta/recipes-connectivity/openssl/openssl/fix_random_labels.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | The perl script adds random suffixes to the local function names to ensure | ||
2 | it doesn't clash with other parts of openssl. Set the random number seed | ||
3 | to something predictable so the assembler files are generated consistently | ||
4 | and our own reproducible builds tests pass. | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
8 | |||
9 | Index: openssl-3.1.0/crypto/modes/asm/aes-gcm-avx512.pl | ||
10 | =================================================================== | ||
11 | --- openssl-3.1.0.orig/crypto/modes/asm/aes-gcm-avx512.pl | ||
12 | +++ openssl-3.1.0/crypto/modes/asm/aes-gcm-avx512.pl | ||
13 | @@ -191,6 +191,9 @@ my $CTX_OFFSET_HTable = (16 * 6); | ||
14 | # ;;; Helper functions | ||
15 | # ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
16 | |||
17 | +# Ensure the local labels are reproduicble | ||
18 | +srand(10000); | ||
19 | + | ||
20 | # ; Generates "random" local labels | ||
21 | sub random_string() { | ||
22 | my @chars = ('a' .. 'z', 'A' .. 'Z', '0' .. '9', '_'); | ||