gpg: Ensure TOFU bindings associated with UTKs are registered as usual
authorNeal H. Walfield <neal@g10code.com>
Thu, 2 Feb 2017 13:24:38 +0000 (14:24 +0100)
committerNeal H. Walfield <neal@g10code.com>
Thu, 2 Feb 2017 13:24:38 +0000 (14:24 +0100)
commit769272ba87f282a69e8d5f9bb27c86e6bec4496b
treeae193e1f96df63aa832d86153c9c80c9f24c58ec
parenta08c781739e7561093f32b732c4991f2bd817ec2
gpg: Ensure TOFU bindings associated with UTKs are registered as usual

* g10/tofu.c (get_trust): Call get_policy before short-circuiting the
policy lookup for ultimately trusted keys to make sure the binding is
added to the bindings table, if necessary.

Signed-off-by: Neal H. Walfield <neal@g10code.com>
GnuPG-bug-id: 2929
g10/tofu.c