summaryrefslogtreecommitdiff
path: root/src/kdm.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-26 20:58:42 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-26 20:58:42 +0000
commit7f43926bf2d2d9b4a480ddd4e006736056dcbb22 (patch)
tree33ea7488ff817a94c4e7895ca850177b7420b7bd /src/kdm.cc
parent6002b39d878fec75881b75dcda1c7d63e4271799 (diff)
Various fixes for non-Latin filenames.
Diffstat (limited to 'src/kdm.cc')
-rw-r--r--src/kdm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kdm.cc b/src/kdm.cc
index 2005f58a..9d40cff7 100644
--- a/src/kdm.cc
+++ b/src/kdm.cc
@@ -50,7 +50,7 @@ KDM::KDM (boost::filesystem::path kdm, boost::filesystem::path private_key)
{
/* Read the private key */
- FILE* private_key_file = fopen (private_key.string().c_str(), "r");
+ FILE* private_key_file = fopen_boost (private_key, "r");
if (!private_key_file) {
throw FileError ("could not find RSA private key file", private_key);
}