diff options
Diffstat (limited to 'wgtpkg-xmlsec.c')
-rw-r--r-- | wgtpkg-xmlsec.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/wgtpkg-xmlsec.c b/wgtpkg-xmlsec.c index 5c65217..b2c2e50 100644 --- a/wgtpkg-xmlsec.c +++ b/wgtpkg-xmlsec.c @@ -132,6 +132,13 @@ int xmlsec_init() goto end; } +#ifdef XMLSEC_CRYPTO_DYNAMIC_LOADING + if(xmlSecCryptoDLLoadLibrary(XMLSEC_CRYPTO) < 0) { + syslog(LOG_ERR, "xmlSecCryptoDLLoadLibrary %s failed.", XMLSEC_CRYPTO); + goto end; + } +#endif + if(xmlSecCryptoAppInit(NULL) < 0) { syslog(LOG_ERR, "xmlSecCryptoAppInit failed."); goto end; |