From 0e4ee60a756eecd8c09ea5bce9f0f11c3c618c2b Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 9 May 2012 10:01:14 +0100 Subject: [crypto] Reduce standard debugging output X.509 certificate processing currently produces an overwhelming amount of debugging information. Move some of this from DBGLVL_LOG to DBGLVL_EXTRA, to make the output more manageable. Signed-off-by: Michael Brown --- src/net/validator.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/net') diff --git a/src/net/validator.c b/src/net/validator.c index fbb8831cb..0d24b4572 100644 --- a/src/net/validator.c +++ b/src/net/validator.c @@ -68,7 +68,7 @@ static void validator_free ( struct refcnt *refcnt ) { struct validator *validator = container_of ( refcnt, struct validator, refcnt ); - DBGC ( validator, "VALIDATOR %p freed\n", validator ); + DBGC2 ( validator, "VALIDATOR %p freed\n", validator ); x509_chain_put ( validator->chain ); xferbuf_done ( &validator->buffer ); free ( validator ); @@ -294,7 +294,7 @@ static void validator_xfer_close ( struct validator *validator, int rc ) { validator, strerror ( rc ) ); goto err_download; } - DBGC ( validator, "VALIDATOR %p download complete\n", validator ); + DBGC2 ( validator, "VALIDATOR %p download complete\n", validator ); /* Append downloaded certificates */ if ( ( rc = validator_append ( validator, validator->buffer.data, @@ -439,8 +439,8 @@ int create_validator ( struct interface *job, struct x509_chain *chain ) { /* Attach parent interface, mortalise self, and return */ intf_plug_plug ( &validator->job, job ); ref_put ( &validator->refcnt ); - DBGC ( validator, "VALIDATOR %p validating X509 chain %p\n", - validator, validator->chain ); + DBGC2 ( validator, "VALIDATOR %p validating X509 chain %p\n", + validator, validator->chain ); return 0; validator_finished ( validator, rc ); -- cgit v1.2.3-55-g7522