mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
libtpms: update to 0.10.0.
This commit is contained in:
parent
7b73bda03a
commit
cf4e362e04
2 changed files with 29 additions and 2 deletions
|
@ -0,0 +1,27 @@
|
||||||
|
From 806141196296150c03e5d826ab7e6c3602f41b98 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Stefan Berger <stefanb@linux.ibm.com>
|
||||||
|
Date: Fri, 15 Nov 2024 08:07:23 -0500
|
||||||
|
Subject: [PATCH] tpm2: Add padding to OBJECT for 32bit targets
|
||||||
|
|
||||||
|
The nvram_offsets test fails on 32bit targets due to an unexpected size
|
||||||
|
of an OBJECT. This was due to missing padding.
|
||||||
|
|
||||||
|
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
|
||||||
|
---
|
||||||
|
src/tpm2/Global.h | 3 +++
|
||||||
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/tpm2/Global.h b/src/tpm2/Global.h
|
||||||
|
index 910b940e3..c4d7176f3 100644
|
||||||
|
--- a/src/tpm2/Global.h
|
||||||
|
+++ b/src/tpm2/Global.h
|
||||||
|
@@ -265,6 +265,9 @@ typedef struct OBJECT
|
||||||
|
// this field carries additional metadata
|
||||||
|
// needed to derive the proof value for
|
||||||
|
// the object.
|
||||||
|
+#if __LONG_WIDTH__ == 32
|
||||||
|
+ UINT8 _pad1[4]; /* 32 bit targets need padding */
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
// libtpms added: SEED_COMPAT_LEVEL to use for deriving child keys
|
||||||
|
SEED_COMPAT_LEVEL seedCompatLevel;
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'libtpms'
|
# Template file for 'libtpms'
|
||||||
pkgname=libtpms
|
pkgname=libtpms
|
||||||
version=0.9.6
|
version=0.10.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="libtool automake pkg-config"
|
hostmakedepends="libtool automake pkg-config"
|
||||||
|
@ -10,7 +10,7 @@ maintainer="John <me@johnnynator.dev>"
|
||||||
license="BSD-3-Clause, custom:IBM"
|
license="BSD-3-Clause, custom:IBM"
|
||||||
homepage="https://github.com/stefanberger/libtpms"
|
homepage="https://github.com/stefanberger/libtpms"
|
||||||
distfiles="https://github.com/stefanberger/libtpms/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/stefanberger/libtpms/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=2807466f1563ebe45fdd12dd26e501e8a0c4fbb99c7c428fbb508789efd221c0
|
checksum=6da9a527b3afa7b1470acd4cd17157b8646c31a2c7ff3ba2dfc50c81ba413426
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
|
|
Loading…
Add table
Reference in a new issue