From bb85881fc35c1b44ba2d85973789f90ca0a005db Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 4 Feb 2025 23:58:36 +0100 Subject: Debug it harder. --- src/util.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') diff --git a/src/util.cc b/src/util.cc index b316a524..8bbb465b 100644 --- a/src/util.cc +++ b/src/util.cc @@ -160,6 +160,13 @@ dcp::make_digest(boost::filesystem::path filename, function given_resources_directory) { @@ -167,6 +174,8 @@ dcp::init (optional given_resources_directory) throw MiscError ("could not initialise xmlsec"); } + xmlSecErrorsSetCallback(xmlsec_error_callback); + #ifdef XMLSEC_CRYPTO_DYNAMIC_LOADING int result = xmlSecCryptoDLLoadLibrary(BAD_CAST "openssl"); if (result < 0) { -- cgit v1.2.3