aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/keylist.c')
-rw-r--r--g10/keylist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/keylist.c b/g10/keylist.c
index 82d60c261..6e5ebdac9 100644
--- a/g10/keylist.c
+++ b/g10/keylist.c
@@ -64,6 +64,7 @@ static estream_t attrib_fp;
void
public_key_list (ctrl_t ctrl, strlist_t list, int locate_mode)
{
+#ifndef NO_TRUST_MODELS
if (opt.with_colons)
{
byte trust_model, marginals, completes, cert_depth, min_cert_level;
@@ -98,9 +99,9 @@ public_key_list (ctrl_t ctrl, strlist_t list, int locate_mode)
if (trust_model == TM_PGP || trust_model == TM_CLASSIC)
es_fprintf (es_stdout, ":%d:%d:%d", marginals, completes, cert_depth);
-
es_fprintf (es_stdout, "\n");
}
+#endif /*!NO_TRUST_MODELS*/
/* We need to do the stale check right here because it might need to
update the keyring while we already have the keyring open. This