summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-04-14 18:06:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-22 22:05:57 +0100
commitc2c0bfb0d7241549199dc8ab56525ff34a3f6f11 (patch)
tree6cb5d8b209d804180074a687c7041a6561e9cbad
parent8df079038aa9e378fada8322d0410b58c3950d40 (diff)
downloadpoky-c2c0bfb0d7241549199dc8ab56525ff34a3f6f11.tar.gz
gnutls: upgrade 3.8.4 -> 3.8.5
Add-ptest-support.patch refreshed for 3.8.5 Changelog: ========== * libgnutls: Due to majority of usages and implementations of RSA decryption with PKCS#1 v1.5 padding being incorrect, leaving them vulnerable to Marvin attack, the RSAES-PKCS1-v1_5 is being deprecated (encryption and decryption) and will be disabled in the future. * libgnutls: Added support for RIPEMD160 and PBES1-DES-SHA1 for backward compatibility with GCR. * libgnutls: A couple of memory related issues have been fixed in RSA PKCS#1 v1.5 decryption error handling and deterministic ECDSA with earlier versions of GMP. * build: Fixed a bug where building gnutls statically failed due to a duplicate definition of nettle_rsa_compute_root_tr(). (From OE-Core rev: 1102569cf1aa4361347da2fd1bf62e7498f5f78b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/gnutls/gnutls/Add-ptest-support.patch8
-rw-r--r--meta/recipes-support/gnutls/gnutls_3.8.5.bb (renamed from meta/recipes-support/gnutls/gnutls_3.8.4.bb)2
2 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-support/gnutls/gnutls/Add-ptest-support.patch b/meta/recipes-support/gnutls/gnutls/Add-ptest-support.patch
index 1152d3797f..8edd31d6b9 100644
--- a/meta/recipes-support/gnutls/gnutls/Add-ptest-support.patch
+++ b/meta/recipes-support/gnutls/gnutls/Add-ptest-support.patch
@@ -1,4 +1,4 @@
1From ff6a345235b2585c261752e47a749228672b07dc Mon Sep 17 00:00:00 2001 1From bfa70adcbda4e505cf2e597907852e78e0439ee2 Mon Sep 17 00:00:00 2001
2From: Ravineet Singh <ravineet.a.singh@est.tech> 2From: Ravineet Singh <ravineet.a.singh@est.tech>
3Date: Tue, 10 Jan 2023 16:11:10 +0100 3Date: Tue, 10 Jan 2023 16:11:10 +0100
4Subject: [PATCH] gnutls: add ptest support 4Subject: [PATCH] gnutls: add ptest support
@@ -26,7 +26,7 @@ index 843193f..816b09f 100644
26 26
27 include $(top_srcdir)/cligen/cligen.mk 27 include $(top_srcdir)/cligen/cligen.mk
28diff --git a/configure.ac b/configure.ac 28diff --git a/configure.ac b/configure.ac
29index d6e03cf..e3f15fb 100644 29index 934377e..4406eae 100644
30--- a/configure.ac 30--- a/configure.ac
31+++ b/configure.ac 31+++ b/configure.ac
32@@ -1213,6 +1213,8 @@ AC_SUBST(LIBGNUTLS_CFLAGS) 32@@ -1213,6 +1213,8 @@ AC_SUBST(LIBGNUTLS_CFLAGS)
@@ -39,10 +39,10 @@ index d6e03cf..e3f15fb 100644
39 39
40 hw_features= 40 hw_features=
41diff --git a/tests/Makefile.am b/tests/Makefile.am 41diff --git a/tests/Makefile.am b/tests/Makefile.am
42index fb9e55a..c2d226a 100644 42index e39a3b3..861dd63 100644
43--- a/tests/Makefile.am 43--- a/tests/Makefile.am
44+++ b/tests/Makefile.am 44+++ b/tests/Makefile.am
45@@ -658,6 +658,12 @@ SH_LOG_COMPILER = $(SHELL) 45@@ -663,6 +663,12 @@ SH_LOG_COMPILER = $(SHELL)
46 AM_VALGRINDFLAGS = --suppressions=$(srcdir)/suppressions.valgrind 46 AM_VALGRINDFLAGS = --suppressions=$(srcdir)/suppressions.valgrind
47 LOG_COMPILER = $(LOG_VALGRIND) 47 LOG_COMPILER = $(LOG_VALGRIND)
48 48
diff --git a/meta/recipes-support/gnutls/gnutls_3.8.4.bb b/meta/recipes-support/gnutls/gnutls_3.8.5.bb
index 20139b4dd4..21506a04dc 100644
--- a/meta/recipes-support/gnutls/gnutls_3.8.4.bb
+++ b/meta/recipes-support/gnutls/gnutls_3.8.5.bb
@@ -25,7 +25,7 @@ SRC_URI = "https://www.gnupg.org/ftp/gcrypt/gnutls/v${SHRT_VER}/gnutls-${PV}.tar
25 file://Add-ptest-support.patch \ 25 file://Add-ptest-support.patch \
26 " 26 "
27 27
28SRC_URI[sha256sum] = "2bea4e154794f3f00180fa2a5c51fe8b005ac7a31cd58bd44cdfa7f36ebc3a9b" 28SRC_URI[sha256sum] = "66269a2cfe0e1c2dabec87bdbbd8ab656f396edd9a40dd006978e003cfa52bfc"
29 29
30inherit autotools texinfo pkgconfig gettext lib_package gtk-doc ptest 30inherit autotools texinfo pkgconfig gettext lib_package gtk-doc ptest
31 31