[Buildroot] [PATCH 1/4] package/tpm2-tss: bump to version 2.3.2

Fabrice Fontaine fontaine.fabrice at gmail.com
Sat Dec 14 23:25:59 UTC 2019


- Drop patch (already in version)
- Update hash of license file (SPDX ID has been removed with
  https://github.com/tpm2-software/tpm2-tss/commit/0dbc84ee45d0e4cd7eae528f53968f8877455aab)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 ...ypes.c-fix-maybe-uninitialized-error.patch | 37 -------------------
 package/tpm2-tss/tpm2-tss.hash                |  4 +-
 package/tpm2-tss/tpm2-tss.mk                  |  2 +-
 3 files changed, 3 insertions(+), 40 deletions(-)
 delete mode 100644 package/tpm2-tss/0001-tpm2b-types.c-fix-maybe-uninitialized-error.patch

diff --git a/package/tpm2-tss/0001-tpm2b-types.c-fix-maybe-uninitialized-error.patch b/package/tpm2-tss/0001-tpm2b-types.c-fix-maybe-uninitialized-error.patch
deleted file mode 100644
index 7125835711..0000000000
--- a/package/tpm2-tss/0001-tpm2b-types.c-fix-maybe-uninitialized-error.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 815f2bcbdfe5d9aff2cd3acbbb105daf1f5e9d7f Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <fontaine.fabrice at gmail.com>
-Date: Thu, 7 Feb 2019 09:58:07 +0100
-Subject: [PATCH] tpm2b-types.c: fix maybe-uninitialized error
-
-src/tss2-mu/tpm2b-types.c: In function 'Tss2_MU_TPM2B_ECC_POINT_Marshal':
-src/tss2-mu/tpm2b-types.c:201:24: error: 'ptr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
-         *(UINT16 *)ptr = HOST_TO_BE_16(buffer + local_offset - ptr - 2); \
-                        ^
-src/tss2-mu/tpm2b-types.c:152:12: note: 'ptr' was declared here
-     UINT8 *ptr; \
-
-Fixes:
- - http://autobuild.buildroot.org/results/8d7b6dad6602fe67338abc696bc4752dda8e9717
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
-[Upstream status: https://github.com/tpm2-software/tpm2-tss/pull/1265]
----
- src/tss2-mu/tpm2b-types.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/tss2-mu/tpm2b-types.c b/src/tss2-mu/tpm2b-types.c
-index 9c1003ab..7632febb 100644
---- a/src/tss2-mu/tpm2b-types.c
-+++ b/src/tss2-mu/tpm2b-types.c
-@@ -150,7 +150,7 @@ TSS2_RC Tss2_MU_##type##_Marshal(type const *src, uint8_t buffer[], \
-                                  size_t buffer_size, size_t *offset) \
- { \
-     size_t local_offset = 0; \
--    UINT8 *ptr; \
-+    UINT8 *ptr = NULL; \
-     TSS2_RC rc; \
- \
-     if (src == NULL) { \
--- 
-2.14.1
-
diff --git a/package/tpm2-tss/tpm2-tss.hash b/package/tpm2-tss/tpm2-tss.hash
index 9368357c77..0f78eb36b1 100644
--- a/package/tpm2-tss/tpm2-tss.hash
+++ b/package/tpm2-tss/tpm2-tss.hash
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256 bddfa4ab2ceb6394bcacf7db5d6419cbfabdb22702b6df75c59e60dd5f3fafb5  tpm2-tss-2.1.3.tar.gz
-sha256 f7da3c2da12cec3348bb7ee9e2a9e651a241450b2efb67da29d5a75ef2da058a  LICENSE
+sha256 82929a0611f39246e09202702a61b54c980ab694626c1f5823520ddf75024fa6  tpm2-tss-2.3.2.tar.gz
+sha256 18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448  LICENSE
diff --git a/package/tpm2-tss/tpm2-tss.mk b/package/tpm2-tss/tpm2-tss.mk
index e02abb446c..8cd0f7ee95 100644
--- a/package/tpm2-tss/tpm2-tss.mk
+++ b/package/tpm2-tss/tpm2-tss.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-TPM2_TSS_VERSION = 2.1.3
+TPM2_TSS_VERSION = 2.3.2
 TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION)
 TPM2_TSS_LICENSE = BSD-2-Clause
 TPM2_TSS_LICENSE_FILES = LICENSE
-- 
2.24.0



More information about the buildroot mailing list