aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/cert
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-11-22 00:18:05 +0000
committerlloyd <[email protected]>2014-11-22 00:18:05 +0000
commit2561eaf5c4794a97d2a2091b894d69e2c9f70c24 (patch)
treea393f9f114ae2b65d6c41b545a2abcb111af7497 /src/lib/cert
parent840fc0e4dfcb9578b9b1bfd3da0b8fd8a1fa8534 (diff)
On Windows fs::path::native() is a u16 string
Diffstat (limited to 'src/lib/cert')
-rw-r--r--src/lib/cert/x509/certstor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cert/x509/certstor.cpp b/src/lib/cert/x509/certstor.cpp
index 0ce91abdb..41d971ff5 100644
--- a/src/lib/cert/x509/certstor.cpp
+++ b/src/lib/cert/x509/certstor.cpp
@@ -128,7 +128,7 @@ Certificate_Store_In_Memory::Certificate_Store_In_Memory(const std::string& dir)
try
{
if(boost::filesystem::is_regular_file(path))
- m_certs.push_back(X509_Certificate(path.native()));
+ m_certs.push_back(X509_Certificate(path.string()));
}
catch(...) {}
}