Home GnuPG
Diffusion GnuPG 03a65a53231c

g10: Avoid gratuitously loading a keyblock when it is already available
03a65a53231cUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

g10: Avoid gratuitously loading a keyblock when it is already available

* g10/trust.c (get_validity): Add new, optional parameter KB.  Only
load the keyblock if KB is NULL.  Update callers.
(get_validity): Likewise.
* g10/trustdb.c (tdb_get_validity_core): Likewise.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>
  • GnuPG-bug-id: T2812

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Nov 23 2016, 12:29 PM
Parents
rGbfeafe2d3f9b: g10: Use es_fopen instead of open.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG03a65a53231c: g10: Avoid gratuitously loading a keyblock when it is already available (authored by Neal H. Walfield <neal@g10code.com>).Nov 23 2016, 12:29 PM
neal mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:10 PM
neal mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:33 PM