Try always loading the openssl crypto module, not the default one.
authorCarl Hetherington <cth@carlh.net>
Mon, 3 Feb 2020 16:08:17 +0000 (17:08 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 3 Feb 2020 16:08:17 +0000 (17:08 +0100)
src/util.cc

index fba54cd337f9537bfaaedbe077b29dc5d75aef44..ba9e6fa227c51276dd638c4aa843e6e4026f1769 100644 (file)
@@ -175,8 +175,8 @@ dcp::init ()
        }
 
 #ifdef XMLSEC_CRYPTO_DYNAMIC_LOADING
-       if (xmlSecCryptoDLLoadLibrary(BAD_CAST XMLSEC_CRYPTO) < 0) {
-               throw MiscError (String::compose("unable to load default xmlsec-crypto library '%1'", reinterpret_cast<const char*>((XMLSEC_CRYPTO))));
+       if (xmlSecCryptoDLLoadLibrary(BAD_CAST "openssl") < 0) {
+               throw MiscError (String::compose("unable to load openssl xmlsec-crypto library"));
        }
 #endif