g10: Add support for TRUST_NEVER.
authorNeal H. Walfield <neal@g10code.com>
Thu, 1 Sep 2016 11:29:56 +0000 (13:29 +0200)
committerNeal H. Walfield <neal@g10code.com>
Thu, 1 Sep 2016 11:29:56 +0000 (13:29 +0200)
commitf2e5cb6ffb55e49a05d452cd85e45f6f67c20abb
tree85f6a4cd9e9a5a2bd40fb29cb255a09cc4973bfd
parent0cb0ea1633955fb7acd33fe993a4ae4e96e83ae3
g10: Add support for TRUST_NEVER.

* g10/pkclist.c (do_we_trust): Handle TRUST_NEVER, which can be
returned by the TOFU trust model.
(do_we_trust_pre): Print a different message if TRUSTLEVEL is
TRUST_NEVER.
(check_signatures_trust): Improve comment.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
g10/pkclist.c