diff --git a/0001-pkcs.patch b/0001-pkcs.patch new file mode 100644 index 0000000..0bd2dca --- /dev/null +++ b/0001-pkcs.patch @@ -0,0 +1,33 @@ +From d6ee1213730693afdf576297f99bc8cd0208098a Mon Sep 17 00:00:00 2001 +From: "Shencb@123" <1944340417@qq.com> +Date: Mon, 26 Aug 2024 22:06:28 +0800 +Subject: [PATCH] modify perl-libxml-mm.c + +--- + lib/pkcs11h-openssl.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/pkcs11h-openssl.c b/lib/pkcs11h-openssl.c +index 961c955..5443580 100644 +--- a/lib/pkcs11h-openssl.c ++++ b/lib/pkcs11h-openssl.c +@@ -336,7 +336,7 @@ int + __pkcs11h_openssl_ex_data_dup ( + CRYPTO_EX_DATA *to, + CRYPTO_EX_DATA *from, +- void *from_d, ++ void **from_d, + int idx, + long argl, + void *argp +@@ -346,7 +346,7 @@ int + __pkcs11h_openssl_ex_data_dup ( + CRYPTO_EX_DATA *to, + const CRYPTO_EX_DATA *from, +- void *from_d, ++ void **from_d, + int idx, + long argl, + void *argp +-- +2.45.2.windows.1 \ No newline at end of file diff --git a/pkcs11-helper.spec b/pkcs11-helper.spec index ca3e28e..8125af4 100644 --- a/pkcs11-helper.spec +++ b/pkcs11-helper.spec @@ -1,13 +1,13 @@ Name: pkcs11-helper Version: 1.29.0 -Release: 1 +Release: 2 Summary: A library that simplifies the interaction with PKCS#11 providers License: BSD and GPLv2 URL: https://github.com/OpenSC/OpenSC/wiki Source0: https://github.com/OpenSC/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2 Patch1: pkcs11-helper-rfc7512.patch - +Patch2:0001-pkcs.patch BuildRequires: gcc openssl-devel doxygen %description @@ -65,6 +65,9 @@ This package contains the development files for %{name}. %{_mandir}/man8/* %changelog +* Tue Aug 27 2024 shenchenbang <1944340417@qq.com> - 1.29.0-2 +- Fix incorrect function definition + * Thu Feb 09 2023 yaoxin - 1.29.0-1 - Update to 1.29.0