diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-08 10:05:49 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-08 10:05:49 +0000 |
| commit | 83591a4390db550a7d1495b9699c62315e2d7710 (patch) | |
| tree | 29c93f38853ae2d99c7bca8c7b52d2c294881c0e /src/signer.cc | |
| parent | 3a148fab61d2b23379589a4f0f256c21950742b8 (diff) | |
Throw better file errors (with numbers).
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 e144edf3..63da8d8e 100644 --- a/src/signer.cc +++ b/src/signer.cc @@ -99,7 +99,7 @@ Signer::add_signature_value (xmlpp::Node* parent, string ns) const 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); + throw FileError ("could not load private key file", _key, 0); } /* XXX: set key name to the file name: is this right? */ |
