diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-11-26 20:58:42 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-11-26 20:58:42 +0000 |
| commit | 7f43926bf2d2d9b4a480ddd4e006736056dcbb22 (patch) | |
| tree | 33ea7488ff817a94c4e7895ca850177b7420b7bd /src/certificates.cc | |
| parent | 6002b39d878fec75881b75dcda1c7d63e4271799 (diff) | |
Various fixes for non-Latin filenames.
Diffstat (limited to 'src/certificates.cc')
| -rw-r--r-- | src/certificates.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/certificates.cc b/src/certificates.cc index 818d5f72..aa7972a5 100644 --- a/src/certificates.cc +++ b/src/certificates.cc @@ -29,6 +29,7 @@ #include "certificates.h" #include "compose.hpp" #include "exceptions.h" +#include "util.h" using std::list; using std::string; @@ -49,7 +50,7 @@ Certificate::Certificate (boost::filesystem::path filename) : _certificate (0) , _public_key (0) { - FILE* f = fopen (filename.string().c_str(), "r"); + FILE* f = fopen_boost (filename, "r"); if (!f) { throw FileError ("could not open file", filename); } |
