diff options
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); } |
