aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trustdb.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/trustdb.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c
index 3f567e887..466dd7982 100644
--- a/g10/trustdb.c
+++ b/g10/trustdb.c
@@ -1423,10 +1423,13 @@ do_check( ulong pubkeyid, TRUSTREC *dr, unsigned *trustlevel )
if( tsl->dup )
continue;
- log_debug("tslist segs:" );
- for(i=0; i < tsl->nseg; i++ )
- fprintf(stderr, " %lu/%02x", tsl->seg[i].lid, tsl->seg[i].trust );
- putc('\n',stderr);
+ if( opt.verbose ) {
+ log_info("tslist segs:" );
+ for(i=0; i < tsl->nseg; i++ )
+ fprintf(stderr, " %lu/%02x", tsl->seg[i].lid,
+ tsl->seg[i].trust );
+ putc('\n',stderr);
+ }
}
/* and look wether there is a trusted path.