diff options
Diffstat (limited to 'g10/keylist.c')
-rw-r--r-- | g10/keylist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/keylist.c b/g10/keylist.c index 154169718..2a766a140 100644 --- a/g10/keylist.c +++ b/g10/keylist.c @@ -1501,10 +1501,12 @@ list_keyblock_colon (KBNODE keyblock, int secret, int has_secret, int fpr) es_fprintf (es_stdout, "::::::::"); if (opt.trust_model == TM_TOFU || opt.trust_model == TM_TOFU_PGP) { +#ifdef USE_TOFU enum tofu_policy policy; if (! tofu_get_policy (pk, uid, &policy) && policy != TOFU_POLICY_NONE) es_fprintf (es_stdout, "%s", tofu_policy_str (policy)); +#endif /*USE_TOFU*/ } es_putc (':', es_stdout); es_putc ('\n', es_stdout); |