g10: Make sure some functions are passed a primary key.
authorNeal H. Walfield <neal@g10code.com>
Tue, 6 Sep 2016 20:40:59 +0000 (22:40 +0200)
committerNeal H. Walfield <neal@g10code.com>
Tue, 6 Sep 2016 20:40:59 +0000 (22:40 +0200)
commit13ddc17ddb266d74033d5739fec932034fa85c72
tree6e087b5a1ed153cb9fa72acbfc92e11f7ce0cded
parentee19eacd1d688d3a98cd66e5ef2f42079eb829f1
g10: Make sure some functions are passed a primary key.

* g10/tofu.c (get_trust): Make sure the caller provides a primary key.
(tofu_register_signature): Likewise.

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