From c500cefe3180f8c9e6690c133c092aae51c3d777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Hor=C3=A1=C4=8Dek?= Date: Tue, 8 Oct 2024 16:40:12 +0200 Subject: [PATCH] Remove OpenSSL engine API dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: RHEL-54173 Signed-off-by: Štěpán Horáček --- ...Remove-OpenSSL-engine-API-dependency.patch | 81 +++++++++++++++++++ tpm2-tss.spec | 5 ++ 2 files changed, 86 insertions(+) create mode 100644 0001-Remove-OpenSSL-engine-API-dependency.patch diff --git a/0001-Remove-OpenSSL-engine-API-dependency.patch b/0001-Remove-OpenSSL-engine-API-dependency.patch new file mode 100644 index 0000000..6386851 --- /dev/null +++ b/0001-Remove-OpenSSL-engine-API-dependency.patch @@ -0,0 +1,81 @@ +From e9d4ab91da392ad855e2c54ad437356ccc2ad24c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Hor=C3=A1=C4=8Dek?= + +Date: Tue, 8 Oct 2024 16:36:21 +0200 +Subject: [PATCH] Remove OpenSSL engine API dependency +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Štěpán Horáček +--- + src/tss2-esys/esys_crypto_ossl.c | 1 - + test/integration/fapi-data-crypt.int.c | 1 - + test/integration/fapi-ext-public-key.int.c | 1 - + test/integration/fapi-key-create-policy-signed-keyedhash.int.c | 1 - + test/integration/fapi-key-create-policy-signed.int.c | 1 - + 5 files changed, 5 deletions(-) + +diff --git a/src/tss2-esys/esys_crypto_ossl.c b/src/tss2-esys/esys_crypto_ossl.c +index 1620788c..b990f6e3 100644 +--- a/src/tss2-esys/esys_crypto_ossl.c ++++ b/src/tss2-esys/esys_crypto_ossl.c +@@ -19,7 +19,6 @@ + #include + #include + #endif +-#include + #include + + #include "tss2_esys.h" +diff --git a/test/integration/fapi-data-crypt.int.c b/test/integration/fapi-data-crypt.int.c +index 07437b62..cc0dfd62 100644 +--- a/test/integration/fapi-data-crypt.int.c ++++ b/test/integration/fapi-data-crypt.int.c +@@ -15,7 +15,6 @@ + + #include + #include +-#include + #include + + #include "tss2_fapi.h" +diff --git a/test/integration/fapi-ext-public-key.int.c b/test/integration/fapi-ext-public-key.int.c +index 787a6c9c..5d30d2c1 100644 +--- a/test/integration/fapi-ext-public-key.int.c ++++ b/test/integration/fapi-ext-public-key.int.c +@@ -11,7 +11,6 @@ + #include + #include + #include +-#include + #include + #include + #include +diff --git a/test/integration/fapi-key-create-policy-signed-keyedhash.int.c b/test/integration/fapi-key-create-policy-signed-keyedhash.int.c +index f9f4131d..d65ea10b 100644 +--- a/test/integration/fapi-key-create-policy-signed-keyedhash.int.c ++++ b/test/integration/fapi-key-create-policy-signed-keyedhash.int.c +@@ -17,7 +17,6 @@ + + #include + #include +-#include + #include + + #include "tss2_fapi.h" +diff --git a/test/integration/fapi-key-create-policy-signed.int.c b/test/integration/fapi-key-create-policy-signed.int.c +index d20554aa..0eb848e9 100644 +--- a/test/integration/fapi-key-create-policy-signed.int.c ++++ b/test/integration/fapi-key-create-policy-signed.int.c +@@ -17,7 +17,6 @@ + + #include + #include +-#include + #include + + #include "tss2_fapi.h" +-- +2.46.2 + diff --git a/tpm2-tss.spec b/tpm2-tss.spec index 8aa85de..2a5ad7d 100644 --- a/tpm2-tss.spec +++ b/tpm2-tss.spec @@ -16,6 +16,7 @@ Source0: https://github.com/tpm2-software/tpm2-tss/releases/download/%{ver Source1: tpm2-tss-systemd-sysusers.conf # doxygen crash Patch0: tpm2-tss-3.0.0-doxygen.patch +Patch1: 0001-Remove-OpenSSL-engine-API-dependency.patch %global udevrules_prefix 60- @@ -154,6 +155,10 @@ use tpm2-tss. %changelog +* Thu Oct 3 2024 Štěpán Horáček - 4.1.3-3 +- Remove OpenSSL engine API dependency +- Resolves: RHEL-54173 + * Mon Jun 24 2024 Troy Dawson - 4.1.3-2 - Bump release for June 2024 mass rebuild