aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/server.c
diff options
context:
space:
mode:
authorNeal H. Walfield <[email protected]>2015-09-09 19:04:57 +0000
committerNeal H. Walfield <[email protected]>2015-09-16 13:15:18 +0000
commitd47e84946ee010917cfc3501062721b74afbb771 (patch)
tree289287e93cc16564a768e9f6acd48c623de6507d /dirmngr/server.c
parentg10: Remove unused field struct getkey_ctx_s.kbpos. (diff)
downloadgnupg-d47e84946ee010917cfc3501062721b74afbb771.tar.gz
gnupg-d47e84946ee010917cfc3501062721b74afbb771.zip
g10: Simplify code. Turn struct getkey_ctx_s.found_key into an argument
* g10/getkey.c (struct getkey_ctx_s): Remove field found_key. (lookup): Add argument ret_found_key. If not NULL, set it to the found key. Update callers. (pk_from_block): Add argument found_key. Use it instead of CTX->FOUND_KEY. Update callers. (finish_lookup): Return a KBNODE (the found key) instead of an int. Don't set CTX->FOUND_KEY. Return the found key instead. -- Signed-off-by: Neal H. Walfield <[email protected]>.
Diffstat (limited to 'dirmngr/server.c')
0 files changed, 0 insertions, 0 deletions