Write config after certificate chains have been created
authorCarl Hetherington <cth@carlh.net>
Mon, 10 Aug 2015 23:52:20 +0000 (00:52 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 10 Aug 2015 23:52:20 +0000 (00:52 +0100)
so that they are not created again (part of #651).

src/lib/config.cc

index d99cd5fcbff55edee61f31c61822eaaf515a71cb..f71fff86ce4fc3cbdcc94f43d5695c0ee283fbbb 100644 (file)
@@ -124,6 +124,7 @@ Config::read ()
                _signer_chain.reset (new dcp::CertificateChain (openssl_path ()));
                /* And similar for decryption of KDMs */
                _decryption_chain.reset (new dcp::CertificateChain (openssl_path ()));
+               write ();
                return;
        }