From ce6eba78414545d561d6749a4cd75ae755a3cef1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 25 Aug 2014 01:45:21 +0100 Subject: Create a dcp::Signer in Config even when there is no existing file. --- src/lib/config.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib') 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; } -- cgit v1.2.3