diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-10-08 22:29:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-10-08 22:29:16 +0100 |
| commit | 259113a96dc9dfbef0b26ff2e142ee673abcd53d (patch) | |
| tree | 8d96acab6c55a33d58d70d83bf45cbaad4d6ee78 /src/signer.cc | |
| parent | e5151fad94eb86a6aa1d408e2e5eb2706ff41884 (diff) | |
| parent | cccca6f650b4f5dc61a3c992c9c515b064e0704c (diff) | |
Merge branch 'master' of ssh://carlh.dyndns.org/home/carl/git/libdcp
Diffstat (limited to 'src/signer.cc')
| -rw-r--r-- | src/signer.cc | 2 |
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); } |
