diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-10-03 13:37:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-10-03 13:37:29 +0100 |
| commit | 259da4fa739f6f8a551a20e6285b2966a5d1e8c0 (patch) | |
| tree | b8ad1edd213f1f1b39cdaca643641433261cd316 /src | |
| parent | 0ac57f39253d75b2376bc9214c43f0df32440a0d (diff) | |
Try to fix build on windows.
Diffstat (limited to 'src')
| -rw-r--r-- | src/certificates.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/certificates.cc b/src/certificates.cc index f23dbc5d..818d5f72 100644 --- a/src/certificates.cc +++ b/src/certificates.cc @@ -49,7 +49,7 @@ Certificate::Certificate (boost::filesystem::path filename) : _certificate (0) , _public_key (0) { - FILE* f = fopen (filename.c_str(), "r"); + FILE* f = fopen (filename.string().c_str(), "r"); if (!f) { throw FileError ("could not open file", filename); } |
