mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-23 17:32:09 -09:00
package/ibm-sw-tpm2: fix build with OpenSSL 4.{0, 1}
Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Cc: Philippe Reynes <philippe.reynes@softathome.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
75aba76d9a
commit
f3fcabfb88
28
package/ibm-sw-tpm2/0002-tpm-Update-to-OpenSSL-4.1.patch
Normal file
28
package/ibm-sw-tpm2/0002-tpm-Update-to-OpenSSL-4.1.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
From 66921ee5ba05ffb92700b00f17cf1e8b75522aee Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd@kuhls.net>
|
||||
Date: Sun, 13 Sep 2026 11:11:24 +0200
|
||||
Subject: [PATCH] tpm: Update to OpenSSL 4.1
|
||||
|
||||
Upstream: https://github.com/kgoldman/ibmswtpm2/pull/24
|
||||
|
||||
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 731957e..345d29f 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 >= 0x30600ff0L
|
||||
+#if OPENSSL_VERSION_NUMBER >= 0x40100ff0L
|
||||
// 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
|
||||
--
|
||||
2.47.3
|
||||
|
||||
Reference in New Issue
Block a user