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>
Mon, 18 Sep 2017 20:41:12 +0000 (21:41 +0100)
commit2fc26dbcbd6a2b47d850e1dbeeb97d44d204795a
treebff5376907084093ec4d8061027654f1151954da
parentec6eb1af34a5d8d81da4344f0fe6eabd5968c5bd
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