package/tpm2-openssl: bump version to 1.3.0

https://github.com/tpm2-software/tpm2-openssl/releases/tag/1.3.0

Update license hash due to copyright year bump:
3fb3a5ff7f

Pass -Wno-error to make sure warnings are not treated as errors, to
workaround the fact that -Werror is pasedd by the build system since
upstream commit
c3a8758cad
first included in this release.

This fixes a build error seen with the Gitlab pipelines for
bootlin-aarch64-glibc-old:

src/tpm2-provider-encoder.c:
 In function ‘tpm2_rsa_encoder_encode_SubjectPublicKeyInfo_der’:
 src/tpm2-provider-encoder.c:86:71: error: the comparison will always  evaluate as ‘true’ for the address of ‘tpm2_rsa_encode_public_
SubjectPublicKeyInfo_der’ will never be NULL [-Werror=address]

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls
2026-09-12 00:10:33 +02:00
committed by Thomas Petazzoni
parent bfcba48c74
commit cd6291f7c9
2 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
# Locally computed:
sha256 2ee15da2dceae1466ffba868e75a00b119d752babc1b6a2792286336a3324fb0 tpm2-openssl-1.2.0.tar.gz
sha256 7ffba9d66226eb67abb9747ce1cd47477d566143a8ded597bbd974c6fb5fe9f5 LICENSE
sha256 9a9aca55d4265ec501bcf9c56d21d6ca18dba902553f21c888fe725b42ea9964 tpm2-openssl-1.3.0.tar.gz
sha256 355dd0ed306eaba0b7397542973b0bdcce84fed036a58f94be8cf7d75f42deba LICENSE

View File

@@ -4,13 +4,17 @@
#
################################################################################
TPM2_OPENSSL_VERSION = 1.2.0
TPM2_OPENSSL_VERSION = 1.3.0
TPM2_OPENSSL_SITE = https://github.com/tpm2-software/tpm2-openssl/releases/download/$(TPM2_OPENSSL_VERSION)
TPM2_OPENSSL_LICENSE = BSD-3-Clause
TPM2_OPENSSL_LICENSE_FILES = LICENSE
TPM2_OPENSSL_INSTALL_STAGING = YES
TPM2_OPENSSL_DEPENDENCIES = host-pkgconf openssl tpm2-tss
# Need to disable -Werror to avoid warnings being treated as errors
# with some gcc versions
TPM2_OPENSSL_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -Wno-error"
# Provide --with-modulesdir to avoid using abs_builddir and DESTDIR
# (also defined as absolute path) at the same time to define modules
# install path (am__installdirs).