g10: Avoid reading in keys when possible.
authorNeal H. Walfield <neal@g10code.com>
Sun, 30 Oct 2016 18:03:51 +0000 (11:03 -0700)
committerNeal H. Walfield <neal@g10code.com>
Sun, 30 Oct 2016 18:03:51 +0000 (11:03 -0700)
commiteec365a02bd35d2d5c9e4d2c8d18bcd9180cf859
tree42dd1e4ba20699fd169ab5c324bff72187245f63
parent614ca00676bb8ca12b5107fec0e4ef8818445254
g10: Avoid reading in keys when possible.

* g10/tofu.c (build_conflict_set): If CONFLICT_SET contains a single
element, don't bother to check for cross sigs.  Add parameter PK.
Update callers.

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