summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-04-14 20:10:06 +0100
committerCarl Hetherington <cth@carlh.net>2016-04-14 20:10:06 +0100
commite7afdb813259857ddd82a904dfaa56a6bee9ae75 (patch)
treeb5d2b3c7436bd6c99b56871c9b23142002ef45c3
parent5ccb7323be3b7d7011d42de6f9843b3a813c7964 (diff)
Debug strange config error on OS X.
-rw-r--r--src/lib/config.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc
index ba285fd2c..80598c7e9 100644
--- a/src/lib/config.cc
+++ b/src/lib/config.cc
@@ -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);
}