mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/ibm-sw-tpm2: add patch to fix builds against libopenssl 3.6.x
Fixes: https://autobuild.buildroot.org/results/4bc8df69ddb9533de7d877c42e5f7c39192ca454/ Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
3322cfeffa
commit
1c8a006595
25
package/ibm-sw-tpm2/0005-tpm-Update-to-OpenSSL-3.6.patch
Normal file
25
package/ibm-sw-tpm2/0005-tpm-Update-to-OpenSSL-3.6.patch
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
From 7f727710326bc0a6d6f28397253ec3a89000300e Mon Sep 17 00:00:00 2001
|
||||||
|
From: Pedro Monreal <pmonrealgonzalez@suse.com>
|
||||||
|
Date: Fri, 3 Oct 2025 10:35:46 +0200
|
||||||
|
Subject: [PATCH] tpm: Update to OpenSSL 3.6
|
||||||
|
|
||||||
|
Upstream: https://github.com/kgoldman/ibmswtpm2/pull/22
|
||||||
|
|
||||||
|
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||||
|
---
|
||||||
|
src/BnToOsslMath.h | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/BnToOsslMath.h b/src/BnToOsslMath.h
|
||||||
|
index 26828d0..731957e 100644
|
||||||
|
--- a/src/BnToOsslMath.h
|
||||||
|
+++ b/src/BnToOsslMath.h
|
||||||
|
@@ -77,7 +77,7 @@
|
||||||
|
#include <openssl/ec.h>
|
||||||
|
#include <openssl/bn.h>
|
||||||
|
|
||||||
|
-#if OPENSSL_VERSION_NUMBER >= 0x30500ff0L
|
||||||
|
+#if OPENSSL_VERSION_NUMBER >= 0x30600ff0L
|
||||||
|
// Check the bignum_st definition against the one below and either update the
|
||||||
|
// version check or provide the new definition for this version.
|
||||||
|
# error Untested OpenSSL version
|
||||||
Reference in New Issue
Block a user