From ef583bdfaa8c358deda4d78d729385348cf1bed5 Mon Sep 17 00:00:00 2001 From: Jeremy Lakeman Date: Thu, 27 Jun 2013 16:50:58 +0930 Subject: [PATCH] Fix meaning of rhizome crypto debug message --- rhizome_crypto.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rhizome_crypto.c b/rhizome_crypto.c index 98942314..8c7e8c5a 100644 --- a/rhizome_crypto.c +++ b/rhizome_crypto.c @@ -377,10 +377,9 @@ int rhizome_verify_bundle_privatekey(rhizome_manifest *m, m->haveSecret=0; RETURN(-1); } - if (config.debug.rhizome) - DEBUGF("We have the private key for this bundle."); if (m&&sk==m->cryptoSignSecret&&pkin==m->cryptoSignPublic) { - DEBUGF("Set haveSecret=%d in manifest",EXISTING_BUNDLE_ID); + if (config.debug.rhizome) + DEBUGF("We have the private key for this bundle."); m->haveSecret=EXISTING_BUNDLE_ID; } RETURN(0);