aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/wolfssl/patches/002-Update-macro-guard-on-SHA256-transform-call.patch
diff options
context:
space:
mode:
authorSergey V. Lobanov <sergey@lobanov.in>2022-01-01 22:37:13 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2022-02-01 23:18:01 +0100
commit93d91197b98463277b601ec2653351666a4ca4bd (patch)
treeb4369781ca7c742af203ad844c89300e4e0744b3 /package/libs/wolfssl/patches/002-Update-macro-guard-on-SHA256-transform-call.patch
parent45d541bb409355f090b971d96ebebd8610ef84a7 (diff)
downloadupstream-93d91197b98463277b601ec2653351666a4ca4bd.tar.gz
upstream-93d91197b98463277b601ec2653351666a4ca4bd.tar.bz2
upstream-93d91197b98463277b601ec2653351666a4ca4bd.zip
wolfssl: update to 5.1.1-stable
Bump from 4.8.1-stable to 5.1.1-stable Detailed release notes: https://github.com/wolfSSL/wolfssl/releases Upstreamed patches: 001-Maths-x86-asm-change-asm-snippets-to-get-compiling.patch - https://github.com/wolfSSL/wolfssl/commit/fa8f23284d4689c2a737204b337b58d966dcbd8c 002-Update-macro-guard-on-SHA256-transform-call.patch - https://github.com/wolfSSL/wolfssl/commit/f447e4c1fa4c932c0286fa0331966756e243db81 Refreshed patches: 100-disable-hardening-check.patch 200-ecc-rng.patch CFLAG -DWOLFSSL_ALT_CERT_CHAINS replaced to --enable-altcertchains configure option The size of the ipk changed on aarch64 like this: 491341 libwolfssl4.8.1.31258522_4.8.1-stable-7_aarch64_cortex-a53.ipk 520322 libwolfssl5.1.1.31258522_5.1.1-stable-1_aarch64_cortex-a53.ipk Tested-by: Alozxy <alozxy@users.noreply.github.com> Acked-by: Eneas U de Queiroz <cotequeiroz@gmail.com> Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
Diffstat (limited to 'package/libs/wolfssl/patches/002-Update-macro-guard-on-SHA256-transform-call.patch')
-rw-r--r--package/libs/wolfssl/patches/002-Update-macro-guard-on-SHA256-transform-call.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/package/libs/wolfssl/patches/002-Update-macro-guard-on-SHA256-transform-call.patch b/package/libs/wolfssl/patches/002-Update-macro-guard-on-SHA256-transform-call.patch
deleted file mode 100644
index f986b72798..0000000000
--- a/package/libs/wolfssl/patches/002-Update-macro-guard-on-SHA256-transform-call.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From f447e4c1fa4c932c0286fa0331966756e243db81 Mon Sep 17 00:00:00 2001
-From: JacobBarthelmeh <jacob@wolfssl.com>
-Date: Fri, 17 Sep 2021 15:06:13 -0700
-Subject: [PATCH] update macro guard on SHA256 transform call
-
----
- src/ssl.c | 3 ++-
- tests/api.c | 3 ++-
- 2 files changed, 4 insertions(+), 2 deletions(-)
-
---- a/src/ssl.c
-+++ b/src/ssl.c
-@@ -17639,7 +17639,8 @@ size_t wolfSSL_get_client_random(const W
-
- #if defined(OPENSSL_EXTRA)
- #if !defined(HAVE_SELFTEST) && (!defined(HAVE_FIPS) || \
-- (defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION > 2)))
-+ (defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION > 2))) && \
-+ !defined(WOLFSSL_DEVCRYPTO_HASH) && !defined(WOLFSSL_AFALG_HASH)
- /* Apply SHA256 transformation to the data */
- int wolfSSL_SHA256_Transform(WOLFSSL_SHA256_CTX* sha256,
- const unsigned char* data)