summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-10-04 11:10:15 +0100
committerCarl Hetherington <cth@carlh.net>2013-10-04 11:10:15 +0100
commitcb27a92a9c63f8782e8c3bfd4084cebcf58ababe (patch)
tree5f253572133b189ce634eb934b0be53a45f68998 /src
parent36b2009f89fdde05d2c9b8b44aa2bf8fe3b555cb (diff)
filesystem::path.
Diffstat (limited to 'src')
-rw-r--r--src/signer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signer.cc b/src/signer.cc
index f15f5325..e144edf3 100644
--- a/src/signer.cc
+++ b/src/signer.cc
@@ -97,7 +97,7 @@ Signer::add_signature_value (xmlpp::Node* parent, string ns) const
throw MiscError ("could not create signature context");
}
- signature_context->signKey = xmlSecCryptoAppKeyLoad (_key.c_str(), xmlSecKeyDataFormatPem, 0, 0, 0);
+ signature_context->signKey = xmlSecCryptoAppKeyLoad (_key.string().c_str(), xmlSecKeyDataFormatPem, 0, 0, 0);
if (signature_context->signKey == 0) {
throw FileError ("could not load private key file", _key);
}