xmlsec: fix removed symbol XMLSEC_CRYPTO in libxmlsec 1.3.0 (#78280) #6

Merged
bdauvergne merged 1 commits from wip/78280-lasso-test-suite-fails-against-x into main 2024-01-24 14:03:51 +01:00
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"