From cb27a92a9c63f8782e8c3bfd4084cebcf58ababe Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 4 Oct 2013 11:10:15 +0100 Subject: filesystem::path. --- src/signer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/signer.cc') 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); } -- cgit v1.2.3