projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8182186
)
Use tmpdir for temporary files.
author
Carl Hetherington
<cth@carlh.net>
Fri, 18 Jul 2014 12:13:20 +0000
(13:13 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 18 Jul 2014 12:13:20 +0000
(13:13 +0100)
src/certificate_chain.cc
patch
|
blob
|
history
diff --git
a/src/certificate_chain.cc
b/src/certificate_chain.cc
index dbed590b001b55efc50dd10eb790b7b43abb2926..5d01790b0ac381aa9c43e7fb3b37d259135ba451 100644
(file)
--- a/
src/certificate_chain.cc
+++ b/
src/certificate_chain.cc
@@
-159,7
+159,7
@@
public_key_digest (boost::filesystem::path private_key, boost::filesystem::path
boost::filesystem::path
dcp::make_certificate_chain (boost::filesystem::path openssl)
{
- boost::filesystem::path directory = boost::filesystem::unique_path ();
+ boost::filesystem::path directory = boost::filesystem::
temp_directory_path() / boost::filesystem::
unique_path ();
boost::filesystem::create_directories (directory);
boost::filesystem::path const cwd = boost::filesystem::current_path ();