gpg: If a key is ultimate trusted, return that in the tofu model.
authorNeal H. Walfield <neal@g10code.com>
Wed, 21 Oct 2015 11:35:27 +0000 (13:35 +0200)
committerNeal H. Walfield <neal@g10code.com>
Wed, 21 Oct 2015 11:45:48 +0000 (13:45 +0200)
commitdf57390d68482c5b3fa5ff3a42a29ae1b6cbb23c
tree705ed4b4b87b701568503ba8da68f407c4198586
parentd05ff81732e20e6f9d6d7a6281a96a312b001abb
gpg: If a key is ultimate trusted, return that in the tofu model.

* g10/tofu.c (get_trust): If the policy is auto or none, check if the
key is ultimately trusted.  If so, return that.
(tofu_register): If the key is ultimately trusted, don't show any
statistics.
(tofu_get_validity): Likewise.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
Suggested-by: Andre Heinecke <aheinecke@intevation.de>
g10/tofu.c