summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-08-25 01:45:21 +0100
committerCarl Hetherington <cth@carlh.net>2014-08-25 01:45:21 +0100
commitce6eba78414545d561d6749a4cd75ae755a3cef1 (patch)
tree90816b6245899cabe5946dc23a5b85c17505aab5
parent1b41864730653042b33090c5f4f9a704cf30bf61 (diff)
Create a dcp::Signer in Config even when there is no existing file.
-rw-r--r--src/lib/config.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc
index 4f2a75574..576b02fdc 100644
--- a/src/lib/config.cc
+++ b/src/lib/config.cc
@@ -93,6 +93,8 @@ void
Config::read ()
{
if (!boost::filesystem::exists (file (false))) {
+ /* Make a new set of signing certificates and key */
+ _signer.reset (new dcp::Signer (openssl_path ()));
return;
}