mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
17 lines
550 B
Diff
17 lines
550 B
Diff
passing NULL just makes it load the default engine.
|
|
https://www.aleksey.com/xmlsec/api/xmlsec-dl.html#xmlSecCryptoDLLoadLibrary
|
|
--
|
|
diff --git a/libpskc/global.c b/libpskc/global.c
|
|
index 399ffa4..159b6ec 100644
|
|
--- a/libpskc/global.c
|
|
+++ b/libpskc/global.c
|
|
@@ -74,7 +74,7 @@ pskc_global_init (void)
|
|
}
|
|
|
|
#ifdef XMLSEC_CRYPTO_DYNAMIC_LOADING
|
|
- if (xmlSecCryptoDLLoadLibrary (BAD_CAST XMLSEC_CRYPTO) < 0)
|
|
+ if (xmlSecCryptoDLLoadLibrary (NULL) < 0)
|
|
{
|
|
_pskc_debug ("xmlSecCryptoDLLoadLibrary failed");
|
|
return PSKC_XMLSEC_ERROR;
|