chiark / gitweb /
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)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 14 Feb 2017 00:29:34 +0000 (00:29 +0000)
commit9c0bc558d70e770aadef789a259a6bb43ed26563
tree677eaf3aa93f9bebf543a72ff15eba41ea51e07f
parentdd0ce50b176860a485627d5b86bcb547baa3e96b
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
(cherry picked from commit 769272ba87f282a69e8d5f9bb27c86e6bec4496b)

Gbp-Pq: Name 0024-gpg-Ensure-TOFU-bindings-associated-with-UTKs-are-re.patch
g10/tofu.c