Home GnuPG
Diffusion GnuPG 1c35e29af95c

gpg: Minor rework for better readibility of get_best_pubkey_byname.

Description

gpg: Minor rework for better readibility of get_best_pubkey_byname.

* g10/getkey.c (get_best_pubkey_byname): Change return type to
gpg_error_t.  Use var name err instead of rc.  Move a
gpg_error_from_syserror closer to the call.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jul 28 2017, 11:08 AM
Parents
rG6496dc1f9d2a: gpg: Fix segv in get_best_pubkey_byname.
Branches
Unknown
Tags
Unknown