summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-02-03 17:08:17 +0100
committerCarl Hetherington <cth@carlh.net>2020-02-03 17:08:17 +0100
commit8331c050aab2e53ff7848c354e6790c681600dee (patch)
tree4059a2b96856adcc1a91ddec0d24d4b5c0460e1e
parent718d47c3900ab152272d68a29588bd689141071e (diff)
Try always loading the openssl crypto module, not the default one.
-rw-r--r--src/util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cc b/src/util.cc
index fba54cd3..ba9e6fa2 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -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