aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/validator.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2012-05-09 10:01:14 +0100
committerMichael Brown <mcb30@ipxe.org>2012-05-09 10:01:14 +0100
commit0e4ee60a756eecd8c09ea5bce9f0f11c3c618c2b (patch)
treed3dfe745b2ec0c745821d9d8ae41fc9a29f7a7b3 /src/net/validator.c
parentc124f21f5607c533c4099eeb5f6fe6e198bf0b3f (diff)
downloadipxe-0e4ee60a756eecd8c09ea5bce9f0f11c3c618c2b.tar.gz
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/net/validator.c')
-rw-r--r--src/net/validator.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/validator.c b/src/net/validator.c
index fbb8831c..0d24b457 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 );