Fix removal of deprecated macro

Signed-off-by: Simo Sorce <simo@redhat.com>
This commit is contained in:
Simo Sorce 2023-04-20 13:32:57 -04:00
parent 46d9958611
commit 0f5cb29074
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -uPr lasso-2.8.2.orig/lasso/lasso.c lasso-2.8.2/lasso/lasso.c
--- lasso-2.8.2.orig/lasso/lasso.c 2023-01-25 12:10:30.746769119 -0500
+++ lasso-2.8.2/lasso/lasso.c 2023-04-20 12:14:57.332671023 -0400
@@ -270,7 +270,7 @@
* xmlsec-crypto library.
*/
#ifdef XMLSEC_CRYPTO_DYNAMIC_LOADING
- if (xmlSecCryptoDLLoadLibrary(BAD_CAST XMLSEC_CRYPTO) < 0) {
+ if (xmlSecCryptoDLLoadLibrary(BAD_CAST xmlSecGetDefaultCrypto()) < 0) {
message(G_LOG_LEVEL_CRITICAL,
"Unable to load default xmlsec-crypto library. Make sure"
"that you have it installed and check shared libraries path"

View File

@ -72,6 +72,8 @@ License: GPLv2+
URL: https://lasso.entrouvert.org/
Source: https://dev.entrouvert.org/lasso/lasso-%{version}.tar.gz
Patch01: fix-removed-xmlsec-deprecations.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: check-devel