xmlsec: fix removed symbol XMLSEC_CRYPTO in libxmlsec 1.3.0 (#78280)
gitea/lasso/pipeline/head This commit looks good Details

Thanks to Simo Sorce.
This commit is contained in:
Benjamin Dauvergne 2024-01-24 13:45:17 +01:00
parent c500c57a75
commit ffaddeb015
2 changed files with 7 additions and 1 deletions

6
NEWS
View File

@ -1,6 +1,12 @@
NEWS
====
Future
------
- fix symbol deprecation of XMLSEC_CRYPTO macro in libxmlsec 1.3.0 (Patch
provided by Simo Sorce of RedHat) (#78280)
2.8.2 - March 14th 2023
-----------------------

View File

@ -270,7 +270,7 @@ int lasso_init()
* 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"