Home GnuPG
Diffusion GnuPG 11871433436b

gpg: Make the get_pubkey_byname interface easier to understand.

Description

gpg: Make the get_pubkey_byname interface easier to understand.

* g10/keydb.h (enum get_pubkey_modes): New.
* g10/getkey.c (get_pubkey_byname): Repalce no_akl by a mode arg and
change all callers.

This change prepares the implementation of GET_PUBKEY_NO_LOCAL.

(cherry picked from commit 9980f81da765f88a65604ab083563bf15ccdb425)

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jul 4 2019, 10:42 AM
Parents
rGd2e8d7125181: dirmngr: Avoid endless loop in case of HTTP error 503.
Branches
Unknown
Tags
Unknown