Debug strange config error on OS X.
authorCarl Hetherington <cth@carlh.net>
Thu, 14 Apr 2016 19:10:06 +0000 (20:10 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 14 Apr 2016 19:10:06 +0000 (20:10 +0100)
src/lib/config.cc

index ba285fd2ce3e9fe1129bd05a667f95396f314587..80598c7e9d8ed6fe091f1561a5650b1b51a5cf9c 100644 (file)
@@ -142,10 +142,12 @@ void
 Config::read ()
 {
        if (!have_existing ("config.xml")) {
+               cout << "No existing config.xml; creating chains.\n";
                /* Make a new set of signing certificates and key */
                _signer_chain = create_certificate_chain ();
                /* And similar for decryption of KDMs */
                _decryption_chain = create_certificate_chain ();
+               cout << "Writing config.\n";
                write ();
                return;
        }
@@ -498,6 +500,7 @@ Config::drop ()
 void
 Config::changed (Property what)
 {
+       cout << what << " changed in config.\n";
        Changed (what);
 }