summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/gnutls/gnutls/0001-Use-correct-include-dir-with-minitasn.patch31
-rw-r--r--meta/recipes-support/gnutls/gnutls/CVE-2016-7444.patch35
-rw-r--r--meta/recipes-support/gnutls/gnutls_3.5.3.bb13
-rw-r--r--meta/recipes-support/gnutls/gnutls_3.5.5.bb9
4 files changed, 9 insertions, 79 deletions
diff --git a/meta/recipes-support/gnutls/gnutls/0001-Use-correct-include-dir-with-minitasn.patch b/meta/recipes-support/gnutls/gnutls/0001-Use-correct-include-dir-with-minitasn.patch
deleted file mode 100644
index d7dd7cf69b..0000000000
--- a/meta/recipes-support/gnutls/gnutls/0001-Use-correct-include-dir-with-minitasn.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 2651b08477f42dd7a05ea7d6df410fb2c46de4fb Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Wed, 31 Aug 2016 11:04:06 +0300
4Subject: [PATCH] Use correct include dir with minitasn
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9This allows compiling certtool-cfg without libtasn headers.
10
11Upstream-Status: Submitted [https://gitlab.com/gnutls/gnutls/merge_requests/54]
12Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
13---
14 src/Makefile.am | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/src/Makefile.am b/src/Makefile.am
18index 182f3a5..cf65388 100644
19--- a/src/Makefile.am
20+++ b/src/Makefile.am
21@@ -146,6 +146,7 @@ libcmd_cli_debug_la_SOURCES = cli-debug-args.def cli-debug-args.c cli-debug-args
22 COMMON_LIBS = $(LIBOPTS) $(LTLIBINTL)
23 if ENABLE_MINITASN1
24 COMMON_LIBS += ../lib/minitasn1/libminitasn1.la ../gl/libgnu.la
25+AM_CPPFLAGS += -I$(top_srcdir)/lib/minitasn1
26 else
27 COMMON_LIBS += $(LIBTASN1_LIBS)
28 endif
29--
302.9.3
31
diff --git a/meta/recipes-support/gnutls/gnutls/CVE-2016-7444.patch b/meta/recipes-support/gnutls/gnutls/CVE-2016-7444.patch
deleted file mode 100644
index 215be5a8ec..0000000000
--- a/meta/recipes-support/gnutls/gnutls/CVE-2016-7444.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1CVE: CVE-2016-7444
2Upstream-Status: Backport
3Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
4
5Upstream commit follows:
6
7
8From 964632f37dfdfb914ebc5e49db4fa29af35b1de9 Mon Sep 17 00:00:00 2001
9From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
10Date: Sat, 27 Aug 2016 17:00:22 +0200
11Subject: [PATCH] ocsp: corrected the comparison of the serial size in OCSP response
12
13Previously the OCSP certificate check wouldn't verify the serial length
14and could succeed in cases it shouldn't.
15
16Reported by Stefan Buehler.
17---
18 lib/x509/ocsp.c | 1 +
19 1 file changed, 1 insertion(+), 0 deletions(-)
20
21diff --git a/lib/x509/ocsp.c b/lib/x509/ocsp.c
22index 92db9b6..8181f2e 100644
23--- a/lib/x509/ocsp.c
24+++ b/lib/x509/ocsp.c
25@@ -1318,6 +1318,7 @@ gnutls_ocsp_resp_check_crt(gnutls_ocsp_resp_t resp,
26 gnutls_assert();
27 goto cleanup;
28 }
29+ cserial.size = t;
30
31 if (rserial.size != cserial.size
32 || memcmp(cserial.data, rserial.data, rserial.size) != 0) {
33--
34libgit2 0.24.0
35
diff --git a/meta/recipes-support/gnutls/gnutls_3.5.3.bb b/meta/recipes-support/gnutls/gnutls_3.5.3.bb
deleted file mode 100644
index b2dbb07124..0000000000
--- a/meta/recipes-support/gnutls/gnutls_3.5.3.bb
+++ /dev/null
@@ -1,13 +0,0 @@
1require gnutls.inc
2
3SRC_URI += "file://correct_rpl_gettimeofday_signature.patch \
4 file://0001-configure.ac-fix-sed-command.patch \
5 file://use-pkg-config-to-locate-zlib.patch \
6 file://0001-Use-correct-include-dir-with-minitasn.patch \
7 file://CVE-2016-7444.patch \
8 "
9SRC_URI[md5sum] = "6c2c7f40ddf52933ee3ca474cb8cb63c"
10SRC_URI[sha256sum] = "92c4bc999a10a1b95299ebefaeea8333f19d8a98d957a35b5eae74881bdb1fef"
11
12# x86 .text relocations should be fixed from 3.5.5 onwards
13INSANE_SKIP_${PN}_append_x86 = " textrel"
diff --git a/meta/recipes-support/gnutls/gnutls_3.5.5.bb b/meta/recipes-support/gnutls/gnutls_3.5.5.bb
new file mode 100644
index 0000000000..d255959e23
--- /dev/null
+++ b/meta/recipes-support/gnutls/gnutls_3.5.5.bb
@@ -0,0 +1,9 @@
1require gnutls.inc
2
3SRC_URI += "file://correct_rpl_gettimeofday_signature.patch \
4 file://0001-configure.ac-fix-sed-command.patch \
5 file://use-pkg-config-to-locate-zlib.patch \
6 "
7SRC_URI[md5sum] = "fb84c4d7922c1545da8dda4dcb9487d4"
8SRC_URI[sha256sum] = "86994fe7804ee16d2811e366b9bf2f75304f8e470ae0e3716d60ffeedac0e529"
9